help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ange-ftp using binary mode


From: Michael Albinus
Subject: Re: ange-ftp using binary mode
Date: Thu, 16 Feb 2012 11:42:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

Ken Goldman <kgold@watson.ibm.com> writes:

> On 2/10/2012 4:55 PM, Ken Goldman wrote:
>> 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?
>
> Following up my own post, I edited ange-ftp.el and changed 'binary' to
> ascii'.  Files now come across absolutely perfectly.
>
> I know that's an awful hack, but it's a proof of concept.  Now, how do
> I convince ange-ftp to use ascii without editing the elisp source?

Which Emacs version are you running?

Last year, there was a bug report about ange-ftp's binary mode, see
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7383>. IIRC, it was about
ange-ftp always using binary mode, when your local system is MS
Windows. This is fixed meanwhile.

Chances are good, that a prerelease of Emacs 24.1 works for you out-of-the-box.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]