Home Forums .NET libraries Xceed SFTP/FTP for .NET An unexpected error occurred while sending a command.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #21329 |

    Can anyone give me an idea what this error means when excuting a Disconnect on the FTP client.

                 “An unexpected error occurred while sending a command.”

    Its not the most descriptive message in the world.

    Thanks
    Rob

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Robert (had 1034 views)

    Xceed Support
    Member
    Post count: 5658

    Hi Robert,

    Can you set the TraceWriter property so we can get a log of the communication with the server?

    FtpClient.TraceWriter = new StreamWriter( @”D:\ftp.log”, true );

    Can you also provide the relevant code snippet that your are using, the server type you are connecting to, and the stack trace of the exception?

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Alain [Xceed] (had 1251 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.