Differences

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

2023-02-09 2023-05-24 (current)
6.0 Bug 2129: Clearing environment variables BLOCK_SIZE and LS_BLOCK_SIZE (martin) 6.1 stable released (martin)
Line 27: Line 27:
On start-up WinSCP will by default clear all aliases on commands it uses. This is done to avoid unexpected behavior (e.g. alias ''rm'' to ''rm -i''). If there are no aliases influencing command behavior, this feature can be disabled by unticking //Clear aliases//. This setting speeds up the login process. On start-up WinSCP will by default clear all aliases on commands it uses. This is done to avoid unexpected behavior (e.g. alias ''rm'' to ''rm -i''). If there are no aliases influencing command behavior, this feature can be disabled by unticking //Clear aliases//. This setting speeds up the login process.
-WinSCP also clears set of environment variables know to influence the format of directory listing. These are: ''LANG'', ''LANGUAGE'', ''LC_CTYPE'', ''LC_COLLATE'', ''LC_MONETARY'', ''LC_NUMERIC'', ''LC_TIME'', ''LC_MESSAGES'', ''LC_ALL'', ''BLOCK_SIZE'' and ''LS_BLOCK_SIZE'' //(the last two in the latest beta version only)//. &beta If no such variable is set, untick //Clear national variables//. This setting speeds up the login process.+WinSCP also clears set of environment variables know to influence the format of directory listing. These are: ''LANG'', ''LANGUAGE'', ''LC_CTYPE'', ''LC_COLLATE'', ''LC_MONETARY'', ''LC_NUMERIC'', ''LC_TIME'', ''LC_MESSAGES'', ''LC_ALL'', ''BLOCK_SIZE'' and ''LS_BLOCK_SIZE''. If no such variable is set, untick //Clear national variables//. This setting speeds up the login process.
WinSCP uses ''scp'' command to perform the transfer. On some SSH servers, particularly ssh.com, the ''scp'' may be a link to ''scp2'' command. The ''scp2'' is in fact SFTP server, that WinSCP cannot talk to in SCP mode. Check //Use scp2 with scp1 compat.// to make WinSCP try to force the ''scp'' command to use really the SCP protocol (using ''-1'' option). Note that if the server supports ''scp2'', it probably supports [[sftp|SFTP protocol]] too. WinSCP uses ''scp'' command to perform the transfer. On some SSH servers, particularly ssh.com, the ''scp'' may be a link to ''scp2'' command. The ''scp2'' is in fact SFTP server, that WinSCP cannot talk to in SCP mode. Check //Use scp2 with scp1 compat.// to make WinSCP try to force the ''scp'' command to use really the SCP protocol (using ''-1'' option). Note that if the server supports ''scp2'', it probably supports [[sftp|SFTP protocol]] too.

Last modified: by martin