Filesize does not match
I am trying to automate a SFTPfile transfer using WinSCP. I created a script, but when it runs the file sizes do not match. Please refer to the attached document.
Please let me know what I am doing wrong.
Thank you,
Brady
Advertisement
Advertisement
Please attach a full session log file showing the problem (using the latest version of WinSCP).
To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. 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.
Advertisement
I do not see any problem in the log.
Can you upload the file correctly using any other (even GUI) SFTP client?
ls
command to the script after the upload.
Can you attach log files on level "Debug 1" for comparable attempts, one working and one failing?
First, please add als
command to the script after the upload.
Advertisement
1) It'sIn regards to my batch file I want to add the Debug level 1 and 1s command. I am not familiar/the best with winscp. Can you look at my bat file let me know what I am doing wrong when trying to add these?
ls
, not 1s
.
/loglevel
, nor 1s
(sic).
1) It'sIn regards to my batch file I want to add the Debug level 1 and 1s command. I am not familiar/the best with winscp. Can you look at my bat file let me know what I am doing wrong when trying to add these?ls
, not1s
.
2) The log file does not look like the session was started using that batch file anyway. There's no/loglevel
, nor1s
(sic).
Advertisement
You can post new topics in this forum