Command line: preventing initial LIST command
Command line: preventing initial LIST command
Anyone know of a way to stop CoreFTP (CoreCmd) from issuing the LIST command when it first connects to a server? I'm running this from the command line (or a .cmd file) and just want to grab a file if it's there. If the folder has lot's of files in it, time is waisted cataloging the folder with LIST.
That choice is available as you suggested. When I turn off LIST though I get an error Can't open destination file. If I turn LIST back on, it works fine. This is a download from an AS400 ftp server to an XP PC. Perhaps it needs the LIST command to retreive the attributes of the file in order to properly create it on the local host.
PASV
227 Entering Passive Mode (192,168,25,10,70,227).
RETR penn.txt
150 Retrieving file /transfer/penn.txt
250 File transfer completed successfully.
Can't open desination file
- 0 bytes transferred
Total uploaded files: 0
Total uploaded data: 0
Total downloaded files: 1
Total downloaded data: 0
PASV
227 Entering Passive Mode (192,168,25,10,70,227).
RETR penn.txt
150 Retrieving file /transfer/penn.txt
250 File transfer completed successfully.
Can't open desination file
- 0 bytes transferred
Total uploaded files: 0
Total uploaded data: 0
Total downloaded files: 1
Total downloaded data: 0