1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Add `can PSCP and PSFTP do ASCII mode?' to the FAQ.

[originally from svn r1551]
This commit is contained in:
Simon Tatham 2002-01-23 09:43:10 +00:00
parent b1a4532be2
commit 72ed86bcd0

View File

@ -1,4 +1,4 @@
\versionid $Id: faq.but,v 1.18 2002/01/14 12:16:58 simon Exp $ \versionid $Id: faq.but,v 1.19 2002/01/23 09:43:10 simon Exp $
\A{faq} PuTTY FAQ \A{faq} PuTTY FAQ
@ -148,6 +148,18 @@ it would be for us to write a server from the ground up. We don't
have time, and we don't have motivation. The code is available if have time, and we don't have motivation. The code is available if
anyone else wants to try it. anyone else wants to try it.
\S{faq-pscp-ascii}{Question} Can PSCP or PSFTP transfer files in
ASCII mode?
Unfortunately not. This is a limitation of the file transfer
protocols: the SCP and SFTP protocols have no notion of transferring
a file in anything other than binary mode.
SFTP is designed to be extensible, so it's possible that an
extension might be proposed at some later date that implements ASCII
transfer. But the PuTTY team can't do anything about it until that
happens.
\H{faq-ports} Ports to other operating systems \H{faq-ports} Ports to other operating systems
The eventual goal is for PuTTY to be a multi-platform program, able The eventual goal is for PuTTY to be a multi-platform program, able
@ -423,6 +435,23 @@ In this context MAC stands for Message Authentication Code. It's a
cryptographic term, and it has nothing at all to do with Ethernet cryptographic term, and it has nothing at all to do with Ethernet
MAC (Media Access Control) addresses. MAC (Media Access Control) addresses.
\S{faq-pscp-protocol}{Question} Why do I see \q{Fatal: Protocol
error: Expected control record} in PSCP?
This happens because PSCP was expecting to see data from the server
that was part of the PSCP protocol exchange, and instead it saw data
that it couldn't make any sense of at all.
This almost always happens because the startup scripts in your
account on the server machine are generating output. This is
impossible for PSCP, or any other SCP client, to work around. You
should never use startup files (\c{.bashrc}, \c{.cshrc} and so on)
which generate output in non-interactive sessions.
This is not actually a PuTTY problem. If PSCP fails in this way,
then all other SCP clients are likely to fail in exactly the same
way. The problem is at the server end.
\S{faq-colours}{Question} I clicked on a colour in the Colours \S{faq-colours}{Question} I clicked on a colour in the Colours
panel, and the colour didn't change in my terminal. panel, and the colour didn't change in my terminal.