Linux Today: Linux News On Internet Time.

More on LinuxToday

Resuming interrupted sftp transfers in Linux

Mar 15, 2010, 23:04 (1 Talkback[s])
(Other stories by Xenofon Papadopoulos)


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

[ Thanks to Xenofon Papadopoulos for this link. ]

"It is often the case that an sftp transfer gets interrupted for one reason or another, resulting to partially transferred files. This can be annoying, especially in the case of large file transfers. Even though the Linux version of the sftp client doesn’t offer a direct way to resume an interrupted transfer, doing so is quite simple by using common shell tools, as long as you are able to login to the remote server through a console. Assuming that you are transferring data.zip from source_server to target_server and the transfer was interrupted, you can do the following:

"Connect to target_server using ssh, since you will be required to perform some operations there. Navigate to the directory containing the partially transferred file (also called data.zip)"

Complete Story

Related Stories: