unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: ange-ftp using binary mode
Date: Sat, 11 Feb 2012 09:01:12 +0200	[thread overview]
Message-ID: <838vk926rr.fsf@gnu.org> (raw)
In-Reply-To: <jh43p6$gfu$1@dough.gmane.org>

> From: Ken Goldman <kgold@watson.ibm.com>
> Date: Fri, 10 Feb 2012 16:55:49 -0500
> 
> 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.

Are you using ange-ftp via "C-x C-f"?  If so, tell Emacs to decode the
file, as in "C-x RET c ebcdic-us RET C-x C-f whatever RET".

If you use some other command, again prefix that command with
universal-coding-system-argument ("C-x RET c") to tell it to use
EBCDIC, or whatever is right for those files.

IOW, just imagine the file was on your local disk, and do the same.
You cannot tell disk I/O to "use ascii", can you?



  reply	other threads:[~2012-02-11  7:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-10 21:55 ange-ftp using binary mode Ken Goldman
2012-02-11  7:01 ` Eli Zaretskii [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838vk926rr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).