Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

This is a follow up to FTP BAT file - Windows Scheduled Task.

I copied the FTP script, but I can't transfer the files to my local computer.

All I get is this (server address omitted):

331 Password required for ftpdemo.

230 User ftpdemo logged in.
ftp> lcd C:\Temp\Test
Local directory now C:\Temp\Test.
ftp> mget ErrorLog\*.*
200 Type set to A.
mget LogViewer.asp? quit

Here's the actual script:

lcd C:\Temp\Test
mget ErrorLog\*.*

What do I need to fix?


used PROMPT, now it loops through all the files, but keeps saying the following:

200 port command successful
550 "file_name_here": no such file

and same goes for every file in the directory ... it lists all the files, so they ARE there, I have no idea what's wrong. Also, I use the same account that I use for GUI ftp, and permissions should not be an issue.

Any ideas?


here's how i got it to work (thanks to dave lozinski's site):

lcd C:\Temp\Test
cd /ErrorLog
mget *.*

basically I just had to change the directory on the server.

share|improve this question
up vote 1 down vote accepted

Before the mget command add a line that says

share|improve this answer
now this goes thru all files on remote folder, but keeps saying "port command successful. no such file" ... all files are there though ... any ideas? – roman m Nov 13 '09 at 8:45
didn't solve the issue but helped me get starter, thanx – roman m Nov 13 '09 at 9:15
did you fix why the files weren't coming down? – Stewart Robinson Nov 13 '09 at 16:36

Perhaps ftp -i will solve the problem.

This parameter turns off interactive prompting during multiple file transfers, which is the prompt that I see in the post.

share|improve this answer
same results ... loops thru all the files in the folder, and keeps saying "no such file" but all the files are there ... i use the same credentials as i use for GUI ftp access, so permissions should not be the issue ... any ideas? – roman m Nov 13 '09 at 8:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .