File being truncated

Advertisement

eschind
Joined:
Posts:
2
Location:
Minnesota

File being truncated

I followed the https://winscp.net/eng/docs/library#vbnet example for transferring a file using SFTP. For some reason the file is being truncated to 80KB when it is programmatically uploaded to the site. I contacted the vendor whose server we are uploading it to and they said there are not file size limitations in place.

Wondering if anyone has some ideas/suggestions I can test out to try and get the entire file uploaded.

Thanks.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: File being truncated

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Log File

There's nothing wrong from WinSCP perspective.

The common problem is that there's not enough space in the file system and the server silently ignores any write attempts.

Reply with quote

Advertisement

You can post new topics in this forum