Home › Forums › .NET libraries › Xceed SFTP/FTP for .NET › Invalid reply format to PASV command
Hello. We are trying out your Xceed FTP component, but have stumbled upon a nasty error.
To connect to the FTP server we
– use Passive
– Authenticate with AuthenticationMethod.Tls, VerificationFlags.None, null
– use HTTP proxy without username and password
FTP login is successful, the FtpClient object is Connected.
But when I try to call client.GetFolderContents(); I get the response “Invalid reply format to PASV command”
NOTE: Using FileZilla FTP Client works as a charm.
Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Andris (had 815 views)
Can you set the TraceWriter property so the communication with the FTP server is
logged. Then, can you send us the log of the session that is giving you problems
so we can analyze it?
FtpClient myFtpClient = new
FtpClient();myFtpClient.TraceWriter = new StreamWriter(
@”D:\Log\XceedFtp.log”, true );
FtpConnection myFtpConnection =
new FtpConnection( ftpServer );myFtpConnection.TraceWriter = new
StreamWriter( @”D:\Log\XceedFtp.log”, true );
Dim myFtpClient As New FtpClientmyFtpClient.TraceWriter =
New StreamWriter(“D:\Log\XceedFtp.log”, True)
myFtpConnection As New FtpConnection( ftpServer )myFtpConnection.TraceWriter
= New StreamWriter(“D:\Log\XceedFtp.log”, True)
Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Fawzi [Xceed] (had 962 views)