Transfering a File From One Server To Another

Doug Poland doug at polands.org
Thu Jul 12 15:39:47 UTC 2007


On Thu, Jul 12, 2007 at 07:42:07AM -0700, Pat Singer wrote:
> Hi;
>   I have a server that's screwed up. I'm building out another server
>   now. I need to transfer a 1/2G file from the old one. FTP doesn't
>   work. I tried this: wget http://203.223.111.11/path/to/file It
>   connected to the machine but threw a 404. Ideas?  TIA,
>
This is a nice fit for netcat.

target# nc -l 1234 > file
source# nc target 1234 < file

man nc(1) for details and other tricks


-- 
Regards,
Doug


More information about the freebsd-questions mailing list