Differences

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

2017-02-02 2017-02-02
shell explicit anchor (martin) explicit anchors (martin)
Line 13: Line 13:
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. 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]] Directory listing =====
Use the //Listing command// to change shell command, WinSCP uses to list directory contents. Particularly if your shell does not print group name in directory listing by default, use ''ls -gla'' to enforce it. Use the //Listing command// to change shell command, WinSCP uses to list directory contents. Particularly if your shell does not print group name in directory listing by default, use ''ls -gla'' to enforce it.
Line 20: Line 20:
The //Try to get full timestamp// makes WinSCP attempt to use ''%%--full-time%%'' option for ''ls'' command. It is particularly useful when you want to use some [[task_synchronize|synchronization]] command, for what you need precise timestamps. When it is ticked, WinSCP will add the option to the first ''ls'' command it issues. When the (first) command fails for whatever reason, WinSCP will stop using the option for the whole session. However in some cases WinSCP may fail to detect that the command failed. Then you need to disable the feature manually. The //Try to get full timestamp// makes WinSCP attempt to use ''%%--full-time%%'' option for ''ls'' command. It is particularly useful when you want to use some [[task_synchronize|synchronization]] command, for what you need precise timestamps. When it is ticked, WinSCP will add the option to the first ''ls'' command it issues. When the (first) command fails for whatever reason, WinSCP will stop using the option for the whole session. However in some cases WinSCP may fail to detect that the command failed. Then you need to disable the feature manually.
-===== Other Options =====+===== [[other_options]] 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. Initially the checkbox is in undefined state, making WinSCP trying to list the groups, but suppressing any errors, if listing fails. 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. Initially the checkbox is in undefined state, making WinSCP trying to list the groups, but suppressing any errors, if listing fails.

Last modified: by martin