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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the command line :

option batch on
option confirm off
open ftp:// username :password hostname:port
cd directory name ---- directory on FTP
option transfer binary
put  file name on FTP C:\Users\sshah\Desktop

When I execute task it completes without error but I do not see the file on the desktop

Any ideas what I am doing wrong>?

share|improve this question

There are a couple of issues I see. Are you trying to upload (use put) or download (use get) from the the FTP server?

Your statement is incorrect for a download. Also, you left off the \ and the end of your file path - this will get you everytime.

Make sure you specify the file path on the FTP server as well, and don't for get the /.

You should use option bath abort. Your change directory must be with the /, so for example:

cd /IN/


put C:\Users\sshah\Desktop\*.txt  /IN/


get /IN/*.txt on FTP C:\Users\sshah\Desktop\
share|improve this answer

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.