I use command line WINSCP for SFTP and WEBDAV regularly. Today is my first time getting this to work against Amazon S3. After upgrading to latest version we are able to connect to S3 via the winscp client.
However we have had no luck connecting via the scripting which is really want we need.
Here is the script
Resulting output from this call is:
Connecting to host...
Extra Details: RequestId: 89B832BA562EA9EB, HostId: Jm1ZVlLLSxi7Vxoy5l+Xk09XGhyVRSzBdGAtNummS+xcQ4oGimFEG3dv82vn4Cxes+ktUAYUABk=
I have tried editing the app key and secret key and when these are wrong i get accurate error messages from S3 saying they are wrong. However when they are accurate we just get Access Denied.
I suspect the issue is it's trying to default to the root folder of S3 which we don't have access to and this is failing. It seems regardless of the command entered after the 'open' it always gives access denied. Is there a way to default the remote path from the command line like you can in the GUI.
I've exhausted all avenues and wonder if this is supported and are there any tricks.