简体   繁体   中英

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. What javascript or HTML code should I use? 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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