Differences
This shows you the differences between the selected revisions of the page.
2008-02-28 | 2008-02-28 | ||
عبط (62.150.151.31) (hidden) | old revision restored (martin) (hidden) | ||
Line 6: | Line 6: | ||
You need to check //Advanced options// to reveal the tab. | You need to check //Advanced options// to reveal the tab. | ||
- | http://www.is-sw.net/vb | + | ===== Shell ===== |
- | هكركوز الكويت | + | Use the //Shell// option to specify what shell WinSCP will use. The ''bash'' shell is recommended for working with WinSCP. If your default shell doesn't work with WinSCP, you can specify another shell. Typing the full path (e.g. ''/bin/bash'' or ''/usr/local/bin/bash'') is recommended. |
+ | |||
+ | WinSCP needs to know what environment variable contains exit code of the last command. By default it tries to autodetect that. However the autodetection can fail and also slows down login. You may specify the variable directly instead in //Return code variable// box. | ||
===== Directory listing ===== | ===== Directory listing ===== | ||
Line 16: | Line 18: | ||
Use the //Alias LS to display group name// to make WinSCP try to alias ''ls'' command to add ''-g'' option to force it to list group. WinSCP requires group column in the directory listing. | Use the //Alias LS to display group name// to make WinSCP try to alias ''ls'' command to add ''-g'' option to force it to list group. WinSCP requires group column in the directory listing. | ||
- | هكركوز الكويت | + | ===== Other Options ===== |
+ | When //Lookup user groups// is ticked, WinSCP will use ''groups'' command on start-up to list groups the user belongs too. It will then offer the list on [[ui_properties|Properties dialog]] to allow user select the group instead of typing it. | ||
+ | |||
+ | During WinSCP start up, you may receive an error indicating a problem with the ''groups'' command. Untick the //Lookup user groups// box. More than likely your Linux environment doesn't have the ''groups'' command available. | ||
+ | |||
+ | On start-up WinSCP will by default clear all aliases on commands it uses. This is done to avoid unexpected behaviour (e.g. alias ''rm'' to ''rm -i''). If there are no aliases influencing command behaviour, 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'' and ''LC_ALL''. 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 [[protocols#sftp_ssh_file_transfer_protocol|SFTP protocol]] too. | ||
+ | |||
+ | The //Server timezone offset// allows user 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]]. |