This is an old revision of the document!
Environment Tab (Login Dialog)
Environment tab allows user to configure WinSCP adaptation for particular server/environment.
Advertisement
Server EOL Characters
To allow text mode transfers, WinSCP needs to know what format of text file does the server use. Generally there is plenty of text file formats, almost every platform has it own format. WinSCP supports two most used formats, Unix and Windows. As most SSH servers are run on Unix system, generally you may leave the default Unix format. If your server runs on Windows, select the Windows format. If you do not use text mode transfers, the option is not important for you.
With SFTP protocol version 4 and newer, the server tells itself what format it uses, so the configured option is not used.
Daylight Saving Time
Some servers (mostly on Windows) adjust file timestamp with start of DST and some not (Unix). The option selects between the two approaches. For backward compatibility, Windows-style approach (server does adjustment) is selected by default, while the Unix-style is probably the correct one.
Change the option if timestamps of some files, either in directory listing or after transfer, are shifted by one hour. Note that the option must be set correctly before transferring the files. It does not make sense to try to use it to adjust the incorrect timestamp of already transfered file.
Recycle Bin
WinSCP can emulate Windows Recycle bin functionality on the server-side.
Advertisement
When Preserve deleted remote files to recycle bin is checked it moves deleted files to specified remote directory (recycle bin) instead of actually deleting them. This applies even for directory synchronization.
When Preserve overwritten remote files to recycle bin is checked, the remote file is moved to specified remote directory (recycle bin) before being overwritten by uploaded file. The option is supported only with SFTP protocol.
The file, when it is moved to remote recycle bin, is renamed to include deletion timestamp in the filename. For example test.txt
deleted on New Year Eve 2005 is renamed to test-20050101-000000.txt
.
Deleting the file from remote recycle bin deletes it permanently. The same is true for overwritting it.