« which modules installed | Main | awk vmstat »

ftp-less file xfer hack

ok, so for whatever reason (firewall) you can telnet to a unix box but not ftp. however you need some files from it. they are reasonably large, and contain binary information. how do you get them?

client $ script
client $ telnet (host)
..login..
host $ uuencode (filename) (filename)
host $ CTRL-D
client $ CTRL-D

you should now have the result of the session in a file (probably called typescript). all you need to do is strip the ^Ms out of it, and uudecode it. hey presto. neat :)

About

This page contains a single entry from the blog

The previous post in this blog was which modules installed.

The next post in this blog is awk vmstat.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33