Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Re: File download using scripting fails after few files

martin wrote:

Can you download all files using any other FTP client?


Yeah I was able to download using the ftp client. And yeah I have resolved the issue by changing to passive=on. Didn't know how it resolved the issue, but the problem is resolved.
martin

Re: File download using scripting fails after few files

Can you download all files using any other FTP client?
ronijohn

File download using scripting fails after few files

Hi

I have around 300 csv files in an FTP folder which I want to download using scripting. Below is contents of the script file I am using. The download works fine for the initial few files but after 8 or 10 or 14 (it varies each time) the download stops, with error messages "500 Unknown command" and "(ExtException) **Copying files from remote side failed.**" in the log file.

open -passive=off ftp://USERNAME:PASSWORD@SERVER_IP
lcd c:\csv
get *.csv
exit

Attached is the final part of the log file. Can you please see what is the issue here.

Thanks
Roni