Reputation: 11
I want to upload a specific file (with a specific filepath) to a PHP server. What javascript or HTML code should I use? P.S. I'm a bit new to all this, so please help. :)
Upvotes: 1
Views: 91
Reputation: 7975
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.
Upvotes: 1