I have a problem with my rebex component with single customer accessing an external ftp site (over a closed line, cant get access to it from the internet). The ftp server returns the following when connecting from filezilla
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 500 FEAT not understood.
SupportedFeatures on the Ftp instance returns 0, probably because the FEAT command is not supported by that server.
The problem is that LIST * returns stuff not actually inside the current directory /datamover/users/xxx/customer which is empty. if i changedirectory to that subfolder and calls getrawlist(*), it returns
.:
..:
-rw-rw-rw- 1 0 1 51 Sep 14 2006 RIGHTSLIST.LIS
drwxrwxrwx 2 xxx 355 1024 Jun 21 06:15 customer
drwxrwxrwx 2 xxx 355 2048 Jun 21 06:15 hold
drwxrwxrwx 2 xxx 355 9216 Jun 21 09:26 xxxxx
and GetList("*") correctly misinterprets this as if RIGHTSLIST.LIS is in the current folder, although its in the root folder.
Command sent LIST .
Response read 150 Opening ASCII mode data connection for file list
Response read 226 Transfer complete. 247 bytes transferred
RIGHTSLIST.LIS (File)
customer (Directory)
hold (Directory)
and GetNameList(*) more correctly returns
Command sent NLST .
*Response read 550 No files found.
and throws Rebex.Net.FtpException: No files found (550). which is fine, because there are no files in the subfolder.
My application uses GetList("*") in many places and fails on all of them for this single server. Any advice on how I can get Rebex ftp to use NLST instead of the LIST command?
/Christian