简体   繁体   English

如何将特定文件(带有整个文件路径)上传到PHP服务器?

[英]How can I upload a specific file (with whole filepath) to a PHP server?

I want to upload a specific file (with a specific filepath) to a PHP server. 我想将特定文件(具有特定文件路径)上传到PHP服务器。 What javascript or HTML code should I use? 我应该使用什么JavaScript或HTML代码? PS I'm a bit new to all this, so please help. 附言:我对这一切有点陌生,所以请帮忙。 :) :)

Well, you can send the file and the desired path. 好了,您可以发送文件和所需的路径。 Then you can use cp or mkdir with the --parents option to create all the parent directories at once. 然后,可以将cpmkdir--parents选项一起使用,以一次创建所有父目录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM