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: RCMD command equivalent
anshulc
anshulc@britanniainc.com

From: Fort Wayne, IN USA
Posts: 9
Member Since: 11/27/02
posted November 27, 2002 10:42 AM

Hello,

I am currently using the FTP.net

I am trying to convert the existing DOS batch file into a C# program. I don't understand this script and was wondering someone could help me equivalent syntax with Dart FTP.


user QABCFTP
QABCAUG
quote rcmd call rwcglib/rwcgftp1 parm('QABC')
put Y:\BN313\c1\auto-ord\OHE_iedi.out rwcglib/FTP12562.FTP12562
quote rcmd call rwcglib/rwcgftp2 parm('QABC')
get rwcglib/FTP12562.FTP12562 c:\ohe_edi\ackfile.txt
bye

The commands I don't understand are quote RCMD

Thanks for your help.

- Anshul
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 27, 2002 11:20 AM

You would use Invoke to call the "SITE" command using everything after the "quote" as a parameter.
anshulc
anshulc@britanniainc.com

From: Fort Wayne, IN USA
Posts: 9
Member Since: 11/27/02
posted November 27, 2002 11:47 AM

Thanks Tony,

How do I use "SITE" command?
I can't get SITE property in FtpCommand

----

ftpConnection.Invoke(Dart.PowerTCP.Ftp.FtpCommand.????)

----

Thanks,

Anshul
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 27, 2002 12:26 PM

According to the help, it is "SiteParameters"
anshulc
anshulc@britanniainc.com

From: Fort Wayne, IN USA
Posts: 9
Member Since: 11/27/02
posted November 27, 2002 3:53 PM

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