Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an FTP server running on my home computer. I've built a super simple web interface for depositing files onto the server without the use of a native client using the HTML5 File API. I have the interface and code for choosing the file(s) completed. Now how must I actually go about posting the file to the FTP server on my home machine? Does the website need to be hosted on my home machine for me to deposit files to it, or can I establish a connection to my home computer server through a different web host?

Any explanation and/or coding recommendations would be greatly appreciated.

share|improve this question

1 Answer 1

I think you are looking for the FTP put and get command. Go to the command line and use ftp.


Then at the greater sign that comes up (after you login in and password) type

put /path/to/file/

To download it (get it off the server) use get instead of put (or your web app). I think this is what you are after.

share|improve this answer
Ok, I'd got that much. Do you know of a translation of that code into PHP? – The Kraken Aug 9 '12 at 23:06
Sorry, I'm not much of a PHP guy. You might ask on StackExchange Web Applications, or maybe Web Administrators... something like that. – Everett Aug 9 '12 at 23:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.