Automating Local Copy to Remote SFTP share

Advertisement

MikeS54
Guest

Automating Local Copy to Remote SFTP share

Good afternoon,
I'm having an issue with a script I tried to create to copy a local folder (nightly) over to a remote SFTP share.
The copy will start and then fail a few seconds in. See Screenshots. There are no firewall rules blocking it. I changed files and folders. Same deal. I can copy over files and folders through the program itself with no issues.
I'm wondering if it's a fingerprint issue or something of the kind? Just brainstorming here. Anyone else have this issue and resolve it?
Please see the DEPLOY BAT and the uploadscript it points to. The command prompt pic is as far as it gets.
Thanks in advance.

Description: live errors

WinSCP SFTP Error .jpg

Description: Main script
Description: deploy bat

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
38,177
Location:
Prague, Czechia

Re: Automating Local Copy to Remote SFTP share

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

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. 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

Advertisement

You can post new topics in this forum