unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ange-ftp using binary mode
@ 2012-02-10 21:55 Ken Goldman
  2012-02-11  7:01 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Ken Goldman @ 2012-02-10 21:55 UTC (permalink / raw)
  To: help-gnu-emacs

I have to use ange-ftp because the server I'm connecting to doesn't run 
ssh.  When I transfer, it uses binary, which does not work.  The server 
is a mainframe and likely uses ebcdic.

If I ftp from the command line in ascii mode, the file comes over to 
Windows correctly.  If I enter the commands by hand in the ange-ftp, 
setting ascii, it works.

How do I tell ange-ftp to use ascii?

I set ange-ftp-binary-file-name-regexp to "", even though the .cpp file 
wasn't in the regexp.

Here's a trace.

quote mdtm /SYSTEM/home/suimgvb/ken/utils.cpp
501 command aborted -- FTP server not configured for MDTM
type binary
200 Representation type is Image
get /SYSTEM/home/suimgvb/ken/utils.cpp 
c:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ange-ftp4280SMK
200 Port request OK.
125 Sending data set /SYSTEM/home/suimgvb/ken/utils.cpp

250 Transfer completed successfully.
ftp: 1407 bytes received in 0.01Seconds 93.80Kbytes/sec.
type ascii
200 Representation type is Ascii NonPrint
quote mdtm /SYSTEM/home/suimgvb/ken/utils.cpp
501 command aborted -- FTP server not configured for MDTM




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-02-23 19:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-10 21:55 ange-ftp using binary mode Ken Goldman
2012-02-11  7:01 ` Eli Zaretskii
2012-02-15 20:17   ` Ken Goldman
2012-02-15 20:49     ` Eli Zaretskii
2012-02-15 21:25       ` Ken Goldman
2012-02-14 13:54 ` Michael Albinus
2012-02-15 19:59   ` Ken Goldman
2012-02-15 21:30 ` Ken Goldman
2012-02-16 10:42   ` Michael Albinus
2012-02-23 19:59     ` Ken Goldman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).