Linux Newbie help
 help / color / mirror / Atom feed
From: whitnl73@juno.com
To: ichi@ihug.co.nz
Cc: linux-newbie@vger.kernel.org
Subject: Re: file transfer via telnet
Date: Fri, 21 Feb 2003 13:55:11 -0500 (EST)	[thread overview]
Message-ID: <20030221.140308.8.0.whitnl73@juno.com> (raw)
In-Reply-To: <3E55D572.1B60BF79@ihug.co.nz>

On Fri, 21 Feb 2003 ichi@ihug.co.nz wrote:

> I year or two back, I remember reading about a way to transfer
> a file using telnet.  It think it involved redirection from one
> tty to another, but I don't remember the details.  I now find
> myself in a situation with telnet access, but no ftp (or anything
> else I could use to upload files).  Do any of you guys know the
> telnet method?
>
> Cheers,
> Steven
>
I think that was rsh, not telnet, and man rsh tells the rules for that,
in case you have rsh.

However, to downoad a file by telnet, capture stdout so:

telnet hostname | tee logfile
....
uuencode remotefile remotefile
exit
tr -d "r" < logfile | uudecode

Note remotefile is named twice in the uuencode: first is the name it is
to be uudecoded to, next is the input to uuencode (uou could use
redirection or a pipe instead, by default uuencode operates on stdin.

To upload, I guess you could use telnet's ! command, but how exactly
excapes me.

Lawson

--
---oops---



________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2003-02-21 18:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-17 19:11 File names with spaces Theo. Sean Schulze
2003-02-17 20:34 ` Brian Jackson
2003-02-18 21:37   ` Theo. Sean Schulze
2003-02-20 10:22     ` J.
2003-02-20 17:13       ` [SOLVED] " Theo. Sean Schulze
2003-02-20 19:43         ` J.
2003-02-21  8:59         ` J.
2003-02-23 13:30           ` Theo. Sean Schulze
2003-02-23 14:12             ` Problem installing avi libraries Peter Howell
2003-02-23 15:25               ` Ray Olszewski
2003-02-23 14:46             ` [SOLVED] Re: File names with spaces J.
2003-02-21  7:29       ` file transfer via telnet ichi
2003-02-20 20:10         ` Nathan
2003-02-20 21:44           ` Eckhardt, Rodolpho H. O.
2003-02-21  8:27             ` Jos Lemmerling
2003-02-21  8:51         ` J.
2003-02-21 18:55         ` whitnl73 [this message]
2003-02-22  9:55           ` Thiago F.G. Albuquerque
2003-02-22 10:16             ` J.
2003-02-22 15:59             ` whitnl73
2003-02-22 16:03           ` whitnl73

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=20030221.140308.8.0.whitnl73@juno.com \
    --to=whitnl73@juno.com \
    --cc=ichi@ihug.co.nz \
    --cc=linux-newbie@vger.kernel.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