[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

netcat on windows [WAS: copying a 12GB file]



On Wed, Mar 01, 2006 at 10:02:19AM -0600, anoop aryal wrote:
> On Wednesday 01 March 2006 09:43 am, Lubos Vrbka wrote:
> > > FTP would probably be the fastest, but scp (file transfer over SSH) is
> > > probably already on both machines if they're both Linux.  PuTTY is an
> > > excellent SSH/SCP client for Windows (and Unix) if you need cross
> > > platform support.
> > >
> > > You probably don't want to use SSH Compression as I've seen it actually
> > > slow down file transfers over fast LAN links.  The SSH encryption might
> > > slow down the transfer as well, so the transfer speed might depend on
> > > the speed of your CPUs.
> >
> > additional comment - iirc, it's possible to choose weak encryption for
> > ssh that might actually speed it up a bit.
> 
> to avoid incurring any encryption/decryption overhead, if you are in a trusted 
> network and if both machines have netcat (you probably can get netcat for 
> windows by installing cygwin) you can try the following:
If you just want netcat for Windows, there are pre-compiled binaries available 
e.g. at

http://www.vulnwatch.org/netcat/

> 
> on the workstation do:
> 
> nc -l -p 6000 > my12gigFile
> 
> and on the mailserver do:
> 
> nc -q myWorkstationIP 6000 < my12gigFile
> 
> that is the quickest way to get the file across as far as i know. however, in 
> my experience, the best way to move really large files across is to place the 
> file under a webserver and then use wget with the -c option; since, it seems, 
> that you inevitably run into problems midway thru the long transfer and 
> having the ability to continue where you left off is worth the overhead of 
> http. if you do end up using ftp, look into tftp.
> 
> hope it helps.
> 
> >
> > regards,
> >
> > --
> > Lubos
> > _@_"
> 
> -- 
> 
> 
> anoop
> aaryal@foresightint.com
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Andreas Rippl -- GPG messages preferred
                 Key-ID: 0x81073379

Attachment: signature.asc
Description: Digital signature


Reply to: