Differences

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

2008-04-07 2008-04-08
4.1 Timezone offset moved to Environment tab, as it is used also by FTP protocol (martin) 4.1 For SCP protocol, listing command can be fully specified to overcome specifics of platform (this obsoletes former option Alias LS to display group name). (martin)
Line 12: Line 12:
===== 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.
 +
When the //Ignore LS warnings// checkbox is ticked, WinSCP will ignore any error messages printed by the ''ls'' command as long as it produces some regular output too. It also makes WinSCP ignore exit code ''1'' of the command. The option was added primarily to override ''pagefile.sys'' access-error produced by [[&opensshwin|OpenSSH for Windows]] whenever root directory was opened. However it may be useful even in other situations. When the //Ignore LS warnings// checkbox is ticked, WinSCP will ignore any error messages printed by the ''ls'' command as long as it produces some regular output too. It also makes WinSCP ignore exit code ''1'' of the command. The option was added primarily to override ''pagefile.sys'' access-error produced by [[&opensshwin|OpenSSH for Windows]] whenever root directory was opened. However it may be useful even in other situations.
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.
- 
-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 ===== ===== Other Options =====

Last modified: by martin