West Wind Internet and Client Tools
SFTP Corruption
Gravatar is a globally recognized avatar based on your email address. SFTP Corruption
  WdLuhn
  All
  Sep 21, 2017 @ 01:21pm

I am using the wwSFTP tool to send an XML file to a remote server and the recipient claims the XML is corrupted on receipt. I modified my code to pull the same XML file back from the remote server and am seeing the corruption.

I read the thread from earlier this year about SFTP corruption of large files and have tried setting the ftpBuffer to 50000 and also tried using the SSH.net beta 1 dll.

No success.

Any help?

Gravatar is a globally recognized avatar based on your email address. re: SFTP Corruption
  Rick Strahl
  WdLuhn
  Sep 21, 2017 @ 05:36pm

Make sure you're using the latest version - there was a bug with the library that we are using prior to 6.15. Well, 6.15 of client tools hasn't been released yet so that's an issue 😃 Web Connection 6.15 has the fix for this, Client Tools will be updated soon. It'll be in 6.15 when released.

You can download https://west-wind.com/files/WestwindExperimental.zip and grab an updated version of the Renci.Ssh.dll that should work. Just download and grab the DLL from there to replace the version that came with the client tools.

+++ Rick --

© 1996-2024