Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Invoke command
pwroblewski

From: Austin, TX USA
Posts: 38
Member Since: 11/21/03
posted June 10, 2004 7:44 PM

in a previous version of FTP i was able to use the ftp object to pass in extra commands Ftp1.List " --full-time"
What is the equivalent in the .net verison? I have attempted the following but it does not return anything.  Ftp1.Invoke(FtpCommand.System, "ls --Full-Time")
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 11, 2004 8:48 AM

Hi,
The equivalent in Ftp.Net is:
Ftp1.List(" --Full-Time", True)

A couple of other comments for your benefit:
1. "ls" is not an Ftp command. Command line Ftp actually sends a LIST command to the server when you type "ls".
2. Ftp.Invoke can only be used for commands that do not involve a data connection, so it cannot be used for listings and file transfers.

-ken
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX