Differences

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

ui_login_environment 2019-09-25 ui_login_environment 2021-02-02 (current)
Line 1: Line 1:
-====== Environment Page (Advanced Site Settings dialog) ======+====== The Environment Page (Advanced Site Settings dialog) ======
The //Environment page// on the [[ui_login_advanced|Advanced Site Settings dialog]] allows user to configure WinSCP adaptation for particular server/environment. The //Environment page// on the [[ui_login_advanced|Advanced Site Settings dialog]] allows user to configure WinSCP adaptation for particular server/environment.
Line 12: Line 12:
  * [[ui_login_ftp|FTP]] (FTP protocol specific options)   * [[ui_login_ftp|FTP]] (FTP protocol specific options)
  * [[ui_login_s3|S3]] (S3 protocol specific options)   * [[ui_login_s3|S3]] (S3 protocol specific options)
 +  * [[ui_login_webdav|WebDAV]] (WebDAV protocol specific options)
&toc_title_page_sections &toc_title_page_sections
Line 40: Line 41:
With [[scp|SCP protocol]] the option is used to counterweight time difference between [[timestamp|timestamp]] of remote file shown in directory listing and timestamp set on downloaded file, and vice versa. The difference is caused by fact that during transfer ''scp'' command usually uses UTC time format, while ''ls'' command may display time in local (for server) time format. The time difference can be negative. For example if the timestamps of remote files are two hours ahead of local files, set the option to -2 hours. Read about other issues with [[timestamp|timestamps]]. With [[scp|SCP protocol]] the option is used to counterweight time difference between [[timestamp|timestamp]] of remote file shown in directory listing and timestamp set on downloaded file, and vice versa. The difference is caused by fact that during transfer ''scp'' command usually uses UTC time format, while ''ls'' command may display time in local (for server) time format. The time difference can be negative. For example if the timestamps of remote files are two hours ahead of local files, set the option to -2 hours. Read about other issues with [[timestamp|timestamps]].
-With [[ftp|FTP protocol]] the option is used to actually set the difference between local and remote time zone. Though it is used, when deprecated ''LIST'' command is used for directory listing, only. When using ''MLSD'', the server must report all timestamps in UTC. To enable the option with FTP protocol, you need to opt to use ''LIST'' command explicitly by setting //[[ui_login_ftp|Use MLSD command for directory listing]]// to //Off//. Though, you should use this only when the server does not support ''MLSD'' command or its implementation is buggy. The difference is automatically detected.((If the server supports ''MDTM'' command.)) If the detections fails, uncheck //Detect automatically// and set the difference manually.+With [[ftp|FTP protocol]] the option is used to actually set the difference between local and remote time zone. Though it is used, when deprecated ''LIST'' command is used for directory listing, only. When using ''MLSD'', the server must report all timestamps in UTC. To enable the option with FTP protocol, you need to opt to use ''LIST'' command explicitly by setting //[[ui_login_ftp|Use MLSD command for directory listing]]// to //Off//. Though, you should use this only when the server does not support ''MLSD'' command or its implementation is buggy. With the ''LIST'' command, the difference is automatically detected by default.((If the server supports ''MDTM'' command.)) If the detections fails, uncheck //Detect automatically// and set the difference manually.
The option is not available with [[SFTP]], [[WebDAV]] and [[S3]] protocols, as with them, the server must report all timestamps in UTC. The option is not available with [[SFTP]], [[WebDAV]] and [[S3]] protocols, as with them, the server must report all timestamps in UTC.
Line 63: Line 64:
Read about other issues with [[timestamp|timestamps]]. Read about other issues with [[timestamp|timestamps]].
 +
 +===== [[putty]] PuTTY =====
 +
 +In //PuTTY terminal settings// box, you can specify additional PuTTY settings that WinSCP should use, when [[integration_putty#open_putty|opening session in PuTTY]]. Typically you will use it to set PuTTY terminal settings (like colors).
 +
 +Click the //Edit in PuTTY// button to open PuTTY Configuration window. There, locate a stored session with a name like //(Terminal settings for ...)//. Click the //Load// button. Then edit PuTTY settings as you like (though do not modify the settings that can be controlled in WinSCP, like hostname, username, some SSH protocol settings, etc.). When done, click //Save// button and close PuTTY Configuration window. WinSCP will pick up the settings and load them to the //PuTTY terminal settings// box.
 +
 +You can also specify the settings manually. Use PuTTY registry value names for the settings you want to set. For each settings use a format ''name=value''. Separate multiple settings by a space. Textual values should be surrounded by double-quotes. For example, to double the size of PuTTY window and use gray for a default background color, use:
 +
 +<code>
 +TermWidth=160 TermHeight=48 Colour2="105,105,105"
 +</code>
 +
 +The box is not available, when there exists a PuTTY stored session with the same name as the WinSCP site. In that case, [[integration_putty#session_configuration|WinSCP uses the PuTTY stored session]] and no WinSCP settings.
===== Further Reading ===== ===== Further Reading =====
Read more about [[ui_login|Login dialog]] and [[ui_login_advanced|Advanced Site Settings dialog]]. Read more about [[ui_login|Login dialog]] and [[ui_login_advanced|Advanced Site Settings dialog]].

Last modified: by martin