recursive download using cmd line & error 500 file not f

Report client bugs
Post Reply
yoavs
Posts: 8
Joined: Tue Feb 14, 2006 10:00 pm

recursive download using cmd line & error 500 file not f

Post by yoavs »

Hi,
I'm downloading files in a recursive manner using the -recurse option in a command line.
When the client encounter error 500- file not found it stops the download.
I added the -ignorenotfound option but it's only changing the ERRORLEVEL environment variable from 30 to 0 at the end of activation.

My question is: shouldn't it continue the recursive download and ignore the erred file?

Yoavs
yoavs
Posts: 8
Joined: Tue Feb 14, 2006 10:00 pm

Post by yoavs »

Hi,
1. my mistake it's a 550 error

2. The error happens when it encounters a file with right-to-left file name

3. I use the following command line to download files:
coreftp.exe -log coreftp.log -ignorenotfound -delsrc -OA -recurse -site MySite -d /<from dir>/* -p <to dir>

4. the part of log describing the termination of the download is as follows:
CWD /NEWS/
250 CWD command successful.
PASV
227 Entering Passive Mode (127,0,0,1,18,60).
LIST
Connect socket #1296 to 127.0.0.1, port 4668...125 Data connection already open; Transfer starting.
226 Transfer complete.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (127,0,0,1,18,62).
RETR ????.txt
Connect socket #1264 to 127.0.0.1, port 4670...550 ????.txt: The filename, directory name, or volume label syntax is incorrect.
????.txt - File not found...
Total uploaded files: 0
Total uploaded data: 0
Total downloaded files: 3
Total downloaded data: 30 KB

Yoavs
Post Reply