Differences

This shows you the differences between the selected revisions of the page.

2019-08-26 2019-08-26
common anchor (martin) .net assembly solution (martin)
Line 7: Line 7:
    * Use a [[ui_generateurl|Generate Session URL/Code]] command to avoid common mistakes in manually typed URL's or code; and to make sure all the settings from your GUI configuration is used in the script. \\ A common problem is [[session_url#special|special characters]] in some part of the [[session_url|session URL]] (typically a password or a username).     * Use a [[ui_generateurl|Generate Session URL/Code]] command to avoid common mistakes in manually typed URL's or code; and to make sure all the settings from your GUI configuration is used in the script. \\ A common problem is [[session_url#special|special characters]] in some part of the [[session_url|session URL]] (typically a password or a username).
    * Passphrase to an SSH private key is not a password, you need to specify it using ''[[scriptcommand_open|-passphrase]]'' switch, not in a password part of the session %%URL%%.     * Passphrase to an SSH private key is not a password, you need to specify it using ''[[scriptcommand_open|-passphrase]]'' switch, not in a password part of the session %%URL%%.
-    * With [[webdav|WebDAV]] and [[s3|S3]] protocols, it is possible that you do not have an access to the root folder (bucket list in S3). You may need to specify your WebDAV root or S3 bucket in the session URL. For example ''%%https://username@example.com/dav/%%'' or ''%%s3://key@s3.amazonaws.com/bucket/%%''. Even if you have the code generated from a working WinSCP GUI session, it won't include the root path, as the GUI cannot be aware of the root path restriction.+    * With [[webdav|WebDAV]] and [[s3|S3]] protocols, it is possible that you do not have an access to the root folder (bucket list in S3). You may need to specify your WebDAV root or S3 bucket in the session URL. For example ''%%https://username@example.com/dav/%%'' or ''%%s3://key@s3.amazonaws.com/bucket/%%''. In [[library|.NET assembly]], for WebDAV, use [[library_sessionoptions#webdavroot|''SessionOptions.WebdavRoot'']]; for S3, set ''RemoteDirectory'' [[rawsettings|raw site settings]]. Even if you have the code generated from a working WinSCP GUI session, it won't include the root path, as the GUI cannot be aware of the root path restriction.
===== Logging ===== ===== Logging =====

Last modified: by martin