WinSCP can not access AWS GovCloud S3 Bucket
WinSCP (including v5.14 beta) does not work with AWS GovCloud S3 access.
When you specify the Host-Name in your Login as s3-us-gov-west-1.amazonaws.com
it gets defaulted to "us-east-1" which is hard coded in the libs3.h source file.
Further below is a snippet of the WinSCP runtime log to show the bug:
[..]
. 2018-10-16 13:04:03.975 Session name: MyAccessKeyId@s3-us-gov-west-1.amazonaws.com (Site)
. 2018-10-16 13:04:03.975 Host name: s3-us-gov-west-1.amazonaws.com (Port: 443)
. 2018-10-16 13:04:03.975 User name: MyAccessKeyId (Password: MySecretAccessKey, Key file: No, Passphrase: No)
. 2018-10-16 13:04:03.975 Transfer Protocol: S3
. 2018-10-16 13:04:03.975 Proxy: None
. 2018-10-16 13:04:03.975 HTTPS: Yes
. 2018-10-16 13:04:03.975 S3: Default region: us-east-1
. 2018-10-16 13:04:03.975 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2018-10-16 13:04:03.975 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2018-10-16 13:04:03.975 Cache directory changes: Yes, Permanent: Yes
. 2018-10-16 13:04:03.975 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
[..]
Please fix this issue, as WinSCP is currently NOT GovCloud S3 friendly :-(
Cheers Cory