all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: tramp: Maximum buffer size exceeded
Date: Fri, 29 Aug 2003 21:53:42 +0200	[thread overview]
Message-ID: <84r834uto9.fsf@slowfox.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 7id6epp3z7.fsf@neoscale.com

Kin Cho <kin@neoscale.com> writes:

> tramp (2.0.35) seems to have trouble with large file size.
>
> I was trying to copy /large-file (210 Meg) from foobar to a local
> directory.

It's a pity.  I didn't think of this optimization.  If you look at
the function tramp-do-copy-or-rename-file, then you will see that it
deals with the following special cases:

* Both are Tramp files.  In that case, I look whether they are from
  the same user/host/method combo.  If so, I invoke "mv"/"cp" on the
  remote system directly.  If not, see the last case.

* Neither are Tramp files.  Error.

* This is the default case: fetch file into a buffer, then save the
  buffer.

I should add another case which looks whether exactly one of them is
remote and the method is an out of band method.  In that case, I can
invoke rcp/scp/... directly.

Want to code this?
-- 
Two cafe au lait please, but without milk.

  parent reply	other threads:[~2003-08-29 19:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-29  2:55 tramp: Maximum buffer size exceeded Kin Cho
2003-08-29  9:19 ` Phillip Lord
2003-08-29 15:59   ` Kin Cho
2003-08-29 16:45     ` Kevin Rodgers
2003-08-29 17:05       ` Kin Cho
2003-08-29 19:53 ` Kai Großjohann [this message]
2003-08-29 22:41   ` Kin Cho

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

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

  git send-email \
    --in-reply-to=84r834uto9.fsf@slowfox.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.