[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ange-ftp using binary mode
From: |
Ken Goldman |
Subject: |
ange-ftp using binary mode |
Date: |
Fri, 10 Feb 2012 16:55:49 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:10.0) Gecko/20120129 Thunderbird/10.0 |
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