Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
11.5k views
in General by (160 points)
I'm connecting to a FTP server that does not accept LIST/NLST but DOES accept DIR and LS/LS -L

Is there a way to switch the GetFiles() call to use these commands instead?

3 Answers

0 votes
by (162k points)
You sure about this?

DIR and LS/LS -L are normally command line options in FTP clients that are translated into NLST and LIST by the client.
0 votes
by (160 points)
ah problem is caused by connection issue to ftp server - I'm using MS ftp from cmd shell - the server requires login w/username,password - claims connected to proxy then to connect thru - must do "USER" command again w/different username, password where username like abc@xyz.com - then can access directory of files and put/get OK - how can i do this through the control. It seems to be a firewall proxy.

also - strange command after connection - doing a "cd &m" sets the get mode to multiple files like an mget - do you support anything like that in the control - the dir listing is strange looking - it's very tabular with columns like "Sender ID" "SNRF" "Service Ref."

i can get the ftp download working with a script file for FTP - is it possible to execute a script as a string with the control? I saw your example for EDT's script tool - not quite what i need.

sorry for all the ?s in one post
0 votes
by (162k points)
You can try using SendUserName & SendPassword to send the correct information.

There's no mget in FTPConnection (try http://www.enterprisedt.com/products/ed ... rview.html (edtFTPnet/Express) for added stuff like that).

Not sure what script you mean ... one that works with the DOS ftp command?

Categories

...