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: Upload file failed
isszhao

From: Dulugh, GA USA
Posts: 3
Member Since: 07/09/03
posted July 9, 2003 9:53 AM

When I tried to upload a file to Secure FTP server, it returns error, when I login to the FTP server, the file is out there. I set the PASSIVE to false.:

 An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in dart.powertcp.secureftp.dll

Additional information: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
isszhao

From: Dulugh, GA USA
Posts: 3
Member Since: 07/09/03
posted July 9, 2003 2:05 PM

Let me give more information:

the ftp server is GlobalEscape Secure FTP server, and here is my source code:

 Dart.PowerTCP.SecureFtp.Ftp ftp = new Dart.PowerTCP.SecureFtp.Ftp();


 ftp.Server = "10.18.9.14";
 ftp.Passive = false;
 ftp.ServerPort = 990;
 ftp.Username = "username";
 ftp.Password = "password";
 ftp.UseAuthentication = false;

 ftp.Security = Dart.PowerTCP.SecureFtp.Security.Implicit;

 string dir = ftp.GetDirectory();
 
 ftp.Put(@"e:\test1.pdb", "/KPCorp/" + System.Guid.NewGuid().ToString() + ".pdb");
 
 ftp.Close();
isszhao

From: Dulugh, GA USA
Posts: 3
Member Since: 07/09/03
posted July 9, 2003 4:23 PM

Here is the trace log:


7/9/2003 4:00:15 PM****220-Welcome to the connecture ftp server.
220-If you wish to use secure ftp please reconnect using ssl-ftp.
220-All activity is extensively logged.
220-Contact netops@connecture.net for any questions or problems.
220-
220 GlobalSCAPE Secure FTP Server (v. 1.2)
7/9/2003 4:00:15 PM****USER aebatchprint
7/9/2003 4:00:15 PM****331 Password required for aebatchprint.

220-If you wish to use secure ftp please reconnect using ssl-ftp.
220-All activity is extensively logged.
220-Contact netops@connecture.net for any questions or problems.
220-
220 GlobalSCAPE Secure FTP Server (v. 1.2)
7/9/2003 4:00:15 PM****PASS 58-PO31Z
7/9/2003 4:00:15 PM****230-
230-All activity is extensively logged.
230-Please report problems via client support.
230-Contact netops@connecture.net for problems accessing this site.
230 Login successful.
r any questions or problems.
220-
220 GlobalSCAPE Secure FTP Server (v. 1.2)
7/9/2003 4:00:15 PM****PWD
7/9/2003 4:00:15 PM****257 "/Clients/Aetna" is current folder.
ged.
230-Please report problems via client support.
230-Contact netops@connecture.net for problems accessing this site.
230 Login successful.
r any questions or problems.
220-
220 GlobalSCAPE Secure FTP Server (v. 1.2)
7/9/2003 4:00:21 PM****TYPE I
7/9/2003 4:00:21 PM****200 Type set to I.
 is current folder.
ged.
230-Please report problems via client support.
230-Contact netops@connecture.net for problems accessing this site.
230 Login successful.
r any questions or problems.
220-
220 GlobalSCAPE Secure FTP Server (v. 1.2)
7/9/2003 4:00:21 PM****PORT 192,168,150,56,4,206
7/9/2003 4:00:21 PM****200 Command okay.

 is current folder.
ged.
230-Please report problems via client support.
230-Contact netops@connecture.net for problems accessing this site.
230 Login successful.
r any questions or problems.
220-
220 GlobalSCAPE Secure FTP Server (v. 1.2)
7/9/2003 4:00:21 PM****STOR KPCorp/b6d48876-013f-45b9-a8e0-e6fb5998c8e4.sss
7/9/2003 4:00:21 PM****150 Opening BINARY mode data connection for KPCorp/b6d48876-013f-45b9-a8e0-e6fb5998c8e4.sss.

230-Contact netops@connecture.net for problems accessing this site.
230 Login successful.
r any questions or problems.
220-
220 GlobalSCAPE Secure FTP Server (v. 1.2)
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted July 10, 2003 9:20 AM

Hi,
Please see my direct response to Kevin.
Thanks,
-ken
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX