# Automating Local Copy to Remote SFTP share

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.

Description: live errors

Description: Main script
Description: deploy bat

MikeS54
Joined:
Posts:
1
I did login in to the SFTP share through the program before hand to accept the key and verify connectivity

martin
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.