>> In fact, their AS400 program launch "RETR ." command and they get all >> files which in the current directory. and with IIS, it's OK > > This behaviour is not defined in the FTP standard. > To get all files, you must first use the list function to get the file > list and then iterate thru the list. This is what the "mget" implemented > in most command list FTP client does.
"mget" indeed uses NLST instead of LIST but LIST and MLSD (a newer command a different response format) could also be used safely. Just my 2 cents, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be