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: ftp.Put Error: Modifier Is Required for This Ftp Commnand
ppudhota

From: Jacksonville, FL USA
Posts: 1
Member Since: 01/24/03
posted January 24, 2003 5:45 PM

I just downloaded the ftp ctl and started using it in trail mode.

my code is very simple:

(can otherwise ftp-in to this site from cmd prompt.)
ftp1.Server = "blah";
ftp1.Username = "blah";
ftp1.Password = "";

Dart.PowerTCP.Ftp.FtpFile file;

file = ftp1.Put("C:\\test.bmp", "dir1/test.bmp");

at this point, it errors out...

Please help.
dries_neyrinck

From: Gent, Belgium
Posts: 4
Member Since: 01/24/03
posted January 24, 2003 6:48 PM

try:

ftp1.Server = "blah";
ftp1.Username = "blah";
ftp1.Password = "";

Dart.PowerTCP.Ftp.FtpFile file;

file = ftp1.Put("C:\\test.bmp", "dir1/");

Also I suffered from a little problem in the beginning. I did ftp1.Server = "ftp://100.100.100.100" where it should be ftp1.server = "100.100.100.100"
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX