Differences

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

2005-01-03 2005-01-06
old revision restored (martin) (hidden) typography, full time (martin)
Line 13: Line 13:
===== SCP requirements ===== ===== SCP requirements =====
-To transfer files, scp1 is used (it is called from within scp). If only scp2 is allowed on your server, check the "Use scp2 with scp1 compatibility" option on the "SCP" tab in the login dialog.+To transfer files, ''scp1'' is used (it is called from within ''scp''). If only ''scp2'' is allowed on your server, check the //Use scp2 with scp1 compatibility// option on the [[ui_login_scp|SCP tab]] in the login dialog.
-For correct functionality, it is necessary to satisfy a few conditions. The BASH shell is recommended for working with WinSCP. If your default shell doesn't work with WinSCP, you can specify another shell on the "SCP" tab in the Login dialog. Typing the full path (e.g. ''/bin/bash'') is recommended.+For correct functionality, it is necessary to satisfy a few conditions. The ''bash'' shell is recommended for working with WinSCP. If your default shell doesn't work with WinSCP, you can specify another shell on the [[ui_login_scp|SCP tab]] in the Login dialog. Typing the full path (e.g. ''/bin/bash'') is recommended.
&screenshot(shell) &screenshot(shell)
-For its operation, WinSCP needs several commands: alias, cd, chgrp, chmod, chown, echo, groups, ls, mkdir, mv, pwd, scp, rm, ln, unalias and unset. These commands have to be placed in the path and user must have sufficient permissions to execute them. WinSCP expects "standard" behaviour of these commands. You can avoid needing these commands by not using some of WinSCP functions (mkdir, chown, ln, etc.) or by changing some configuration options (alias, groups, unalias and unset).+For its operation, WinSCP needs several commands: ''alias'', ''cd'', ''chgrp'', ''chmod'', ''chown'', ''echo'', ''groups'', ''ls'', ''mkdir'', ''mv'', ''pwd'', ''scp'', ''rm'', ''ln'', ''unalias'' and ''unset''. These commands have to be placed in the path and user must have sufficient permissions to execute them. WinSCP expects "standard" behaviour of these commands. You can avoid needing these commands by not using some of WinSCP functions (''mkdir'', ''chown'', ''ln'', etc.) or by changing some configuration options (''alias'', ''groups'', ''unalias'' and ''unset'').
-Just after estabilishing the connection with server, all aliases on the above commands are cleared. 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 on the "SCP" tab in the Login dialog. This setting speeds up the login process.+Just after estabilishing the connection with server, all aliases on the above commands are cleared. 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 on the [[ui_login_scp|SCP tab]] tab in the Login dialog. This setting speeds up the login process.
-Another precondition is that the output of all commands is in English. This mostly concerns names of months in directory listings (''ls -la''). Because of this, WinSCP clears all user variables that govern command output after login. These variables are: LANG, LANGUAGE, LC_CTYPE, LC_COLLATE, LC_MONETARY, LC_NUMERIC, LC_TIME, LC_MESSAGES and LC_ALL. If no such variable is set, is is possible to turn off this feature in the session settings. If command output also reflects some other server settings, it may be necessary to change this before WinSCP can be used.+Another precondition is that the output of all commands is in English. This mostly concerns names of months in directory listings (''ls -la''). Because of this, WinSCP clears all user variables that govern command output after login. These variables are: ''LANG'', ''LANGUAGE'', ''LC_CTYPE'', ''LC_COLLATE'', ''LC_MONETARY'', ''LC_NUMERIC'', ''LC_TIME'', ''LC_MESSAGES'' and ''LC_ALL''. If no such variable is set, it is possible to turn off this feature in the session settings. If command output also reflects some other server settings, it may be necessary to change this before WinSCP can be used.
-The last necessary condition is the proper output of ''ls -la'' command, which is supposed to include file group name! If the group name is absent, it can be temporarily added using the relevant option on the "SCP" tab in the Login dialog. The option causes the execution of the command ''alias ls="ls -g"'' on startup.+The last necessary condition is the proper output of ''ls -la'' command, which is supposed to include file group name! If the group name is absent, it can be temporarily added using the relevant option on the [[ui_login_scp|SCP tab]] in the Login dialog. The option causes the execution of the command ''alias ls="ls -g"'' on startup. WinSCP will attempt detect support for ''--full-time'' switch of the ''ls'' command. If the detection causes you problems, disable it on [[ui_login_scp|SCP tab]] in the Login dialog.
===== Using WinSCP with Restricted Shell Environments ===== ===== Using WinSCP with Restricted Shell Environments =====
Line 36: Line 36:
===== Client Requirements ===== ===== Client Requirements =====
-WinSCP should run on any system running Windows 95 or later. Windows XP/2000 recommended+WinSCP should run on any system running Windows 95 or later.

Last modified: by martin