Replies: 3 comments 1 reply
-
Can someone help me |
Beta Was this translation helpful? Give feedback.
-
It depends on what you mean by "local file", because typically in OpenResty there is not a safe way to read file data from disk on the fly (it would block Nginx). You would need to read any file data into Lua in advance, during the If you have file data in Lua already, and you can figure out how to make the required HTTP request for your use case, then yes, this library is the tool you would use to achieve that. |
Beta Was this translation helpful? Give feedback.
-
Send a file, such as a local file, read the file stream, and then send it to another server |
Beta Was this translation helpful? Give feedback.
-
I want to send files, but I can't find examples or documents
like send local file to other server
Beta Was this translation helpful? Give feedback.
All reactions