Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: ftp.list / ftp.namelist
User738

Posts: 1
Member Since: 05/16/01
posted May 16, 2001 1:26 PM

What are the actual FTP commands sent to the FTP server by the ftp.list and ftp.namelist methods?

I write because ftp.namelist is returning differing results based on the FTP server it's talking to.
A namelist against a Washington University FTP 2.6.1(1) server yields a list of full file names (path and all) - ex. "/etc/hosts"
A namelist against a standard Solaris 2.5.1 UNIX System V Release 4.0 server yields a list of file names with no path (just the name) - ex. "hosts"
In trying to troubleshoot our client application (which uses PowerTCP for PB 5.0) and new WU-FTP server interaction, we need to know the precise FTP commands sent to the FTP server.

In an earlier posting you wrote:
> Re:ftp.List by Tony Priest at 3/27/2001 7:56:49 PM (1 reply)
> We send "LIST " followed by whatever you supply as a parameter. 

However, "LIST " is not a valid FTP command, is it? My ftp server only understands "ls", at least when coming in through Telnet.
What "ls" command do you use?

Thanks for your help.
- Greg Arnold

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 16, 2001 2:14 PM


Use the Trace method and you can see EXACTLY what we send AND receive.

"ls" is a command used by your FTP client program, the program actually sends LIST. It's an attempt to make the commands more UNIX like.

Check RFC959 for details.

Hope this helps!

Tony Priest
Dart Tech Support



Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX