Differences

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

2005-01-06 2005-01-07
typography, full time (martin) non-interactive sessions (martin)
Line 34: Line 34:
create incompatabilities with WinSCP, particularly if using SCP create incompatabilities with WinSCP, particularly if using SCP
instead of SFTP. instead of SFTP.
 +
 +===== Configuring WinSCP Sessions =====
 +Most shells nowdays offers options to make user experience better. Unfortunatelly many of these options makes the shell incompatible with WinSCP.
 +
 +This mostly affects SCP protocol. Example is colorised output on ''ls'' command that puts ANSI color sequences to the command output that WinSCP cannot parse.
 +
 +Also SFTP protocol can be affected. Typical example is printing some message from startup scripts. WinSCP (and any other SFTP client) will attempt to parse the message as SFTP packet, what obvisouly fails.
 +
 +You should configure your startup scripts to conform to non-interactive sessions (like WinSCP). Some shells calls different profile/startup scripts for interactive and non-interactive sessions. You can use also some environment variables, like ''TERM'' to distinguish interactive and non-interactive sessions.
===== Client Requirements ===== ===== Client Requirements =====
WinSCP should run on any system running Windows 95 or later. WinSCP should run on any system running Windows 95 or later.

Last modified: by martin