Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using smbclient to transfer a set of large files (80GB) nightly from a Linux system to a Windows share. Lately, for whatever reason, I've been getting I/O timeouts:

cli_push returned NT_STATUS_IO_TIMEOUT

which causes the active file transfer to be aborted and deleted from the Windows share.

This may be due to unresolved Samba bug 8498 (or maybe not). The Windows system is not under my control, so I can't install an ssh server (to use scp or sftp), and do not want to depend on Microsoft's implementation of NFS.

Is there another simple, standard alternative that would let me move 80GB of data reliably from Linux to Windows over the network on a regular basis (the network is GB ethernet, so bandwidth isn't a problem)?

share|improve this question
consider using tools such as rsync with partial mode enabled. Even WinScp should also help. Or provide a common NAS storage with NFS on Unix and CIFS on Windows, so no need to transferr at all incase if it is the same network. Best is to setup a torrent, incase the other network. ;-) – Nikhil Mulley Feb 17 '12 at 12:55
just stumbled across "123go file transfer program" search on google – Nikhil Mulley Feb 17 '12 at 12:57
up vote 4 down vote accepted

Try using these socket options on smbclient

smbclient --socket-options='TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072'

I regularly copy 40+GB files from Windows to Linux media server without error, typical transfer rate is 85MB/s with machines connected via gigabit switch.

share|improve this answer
Thanks for this - this got rid of the error for me; and correctly copied a 2G file from a Ubunutu to a Windows Share. – monojohnny Jan 24 '13 at 13:31
I've tried this and other variations of adjusting the values for SO_RCVBUF and SO_SNDBUF without luck. The file I'm trying to upload is about 8gig over a local network with zero packet loss. – mhvelplund Feb 29 at 8:16

Maybe you can install a ftp server on your linux server, and ask Windows admin to send it the file nightly ?

FTP has a some useful functions for transferring big files and a pause/resume mechanism. For file this big, you should take care to not have a network hardware shutting down inactive connections too early. It can close your control connection before transfert ends.

share|improve this answer
Files are going the other way, from Linux to Windows – Ex Umbris Feb 17 '12 at 20:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.