M31
M31

Reputation: 11

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? P.S. I'm a bit new to all this, so please help. :)

Upvotes: 1

Views: 91

Answers (1)

dcow
dcow

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

Related Questions