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 / Secure FTP using Certificate
rajeshkumaran

From: Pasadena, CA USA
Posts: 1
Member Since: 08/18/10
posted August 18, 2010 2:41 PM

I need help to resolve the FTP issue which I am facing for couple of weeks when trying to enhance my existing FTP program (wrapped over powertcp.ftp) component to use certificate.

The version I am using is powerTCP 3.0.2 to connect to a secure Unix based FTP site using Certificate. The following messages are from the log file of "MGET" sample provided by dart.

<--- 220 Welcome to Synchrony Gateway FTP server
---> AUTH TLS-P
<--- 504 Command not implemented for that parameter.
501 Syntax error in parameters or arguments.
---> AUTH TLS
---> AUTH SSL
<--- 234 Security data exchange complete.


Also in the end I get the following error message
Connecting ...
Connection closed
ERROR: Send failed at the Socket Level. The Socket may have been closed abruptly or timed out.


I also try my custom program built using c# wrapping around SecureFTP recently downloaded from the site, that did not help either. The trace log and exception are as follows:

Trace
------
220 Welcome to Synchrony Gateway FTP server
AUTH SSL
234 Security data exchange complete.
USER <myuserid>
331 User name okay, need password.
PASS <password>
230 User logged in, proceed
SIZE /folder/filename.11163320100817
213 26527
PASV


Exception
-------------
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....

Also I noticed that the connection is getting closed after a while. I tried with a client FTP tool to make isolate port issues and it works fine.

May be I am missing certificate handshaking, but not sure how to handle using powertcp.ftp? Also I tried all the examples provided everything with same error message.

So please let me know how to proceed.
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted August 19, 2010 3:24 PM

The ListView sample demonstrates how to use client certificates to validate a user account. You should also look up the Certificate property for the FTP object as well as the Certificate and CertificateStore objects in the included documentation. You may also want to take a look at "Using the CertificateListForm" object under the "Using SecureFTP" chapter in the included documentation.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

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