I have successfully connected to ftp sites using CoreFTP1.2 for about 2 weeks now. However, there is one site of which when I connect I do not get a directory listing. The only difference between this site and all the others I can successfully connect to is this one is located on an AS400 server. I have provided a log listing of this session.
Welcome to Core FTP, release ver 1.2c, build 1164 -- © 2003
WinSock 2.0
Mem -- 196,148 KB, Virt -- 2,097,024 KB
Started on Monday October 20, 2003 at 08:45:AM
Connect socket #484 to 216.132.132.163, port 21...
220-QTCP at
220 Connection will close if idle more than 5 minutes.
USER
331 Enter password.
PASS
230 user logged on.
SYST
215 OS/400 is the remote operating system. The TCP/IP version is "V5R2M0".
Keep alive off...
PWD
257 "FTPSHA" is current library.
CWD FTPSHA/
501 Character (/) not allowed in object name.
PWD
257 "FTPSHA" is current library.
PASV
227 Entering Passive Mode (216,132,132,163,76,211).
LIST
Connect socket #536 to 216.132.132.163, port 19667...
125 List started.
250 List completed.
Transferred 1,615 bytes in 0.020 seconds
No Directory Listing - AS400
iSeries...
i got around the invalid character error by putting the session in namefmt 1 mode. on the site manager click the Advanced button go to Script/Cmds add a post login command:
quote site namefmt 1
quote site namefmt 1