Permission errors uploading to AWS SFTP
I'm trying to create a script to synchronize a local drive folder with a folder in an SFTP site. However I keep getting an error and the transfer stops:
Batch file code:
Here's my script:
This SFTP is in an S3 bucket and you can't modify the timestamp after it's been uploaded. Here is my code. What am I doing wrong? I just want the folders to synchronize and I'm ok if they aren't time stamped. Thanks in advance!error occurred while setting the permissions and/or timestamp.
If the problem persists, turn off setting permissions or preserving timestamp. Alternatively you can turn on 'Ignore permission errors' option.
The server does not support the operation.
Error code: 8
Batch file code:
@echo off REM CD "C:\Program Files (x86)\WinSCP" WinSCP.com /script=C:\Scripts\SFTPupload.txt > C:\Scripts\SFTPuploadLog.txt