This is an old revision of the document!

Documentation » Configuration » Login Dialog » Advanced »

Environment Tab

Environment tab allows user to configure WinSCP adaptation for particular server/environment.

Advertisement

More environmental options are available on subtabs:

  • Directories (initial directories, directory cache)
  • SFTP (SFTP protocol compatibility options)
  • SCP/Shell (shell and SCP protocol compatibility options)

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-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.1

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 transferred file.

Advertisement

Use the third option Preserve remote timestamp, if you want to see exact non-adjusted remote timestamp in remote panel. Drawback is that with the option selected, the synchronization functions will n

Read about other issues with timestamps.

Recycle Bin

WinSCP can emulate Windows Recycle bin functionality on the server-side.

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.

  1. Until version 3.7.6, Windows-style approach (server does adjustment) was selected by default.Back

Last modified: by martin