【发布时间】:2015-07-20 09:08:39
【问题描述】:
我想通过表单将文件从我的服务器上传到另一台服务器。
就像一个普通的上传表单,但文件不存储在客户端。
<form enctype="multipart/form-data" action="http://server2.com/upload.api">
<input type="file" name="file"> <!-- serverfile instead of local/client file ?! -->
<input type="submit">
</form>
【问题讨论】:
-
您有没有尝试解决这个问题?如果你有,请在你的问题中包含你的代码和研究,以显示什么对你不起作用。如果没有,您应该先尝试自己解决它,然后在此处发布代码和研究。它也让其他人更容易回答您的问题!
-
您好,欢迎来到 SO,我强烈建议您使用 tour 以更好地了解如何在 SO 上提问 :)
-
感谢您的欢迎信息。现在我已经阅读了旅行,对此感到抱歉。
标签: php html file-upload upload