Home Forums .NET libraries Xceed SFTP/FTP for .NET Files empty with SendFile

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

    Hello,

    I wrote my own code and tried your ConsoleFTP sample too, with two different servers.

    The result is always the same, when I use the SendFile method, the file is created on the server but is empty.

    I have sometimes the error: The FTP command execution timed-out.

    What did I miss ?

    Thank you, kind regards.

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

    User (Old forums)
    Member
    Post count: 23064

    It works !

    I just added the following line:

    client.PassiveTransfer =

    false;

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

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