Zend certified PHP/Magento developer

how to transfer files stably in linux

there

I am trying to transfer large data from windows to linux by using SCP.

scp GEOS* username@ip: directories

It works. But it is pretty slow and the connection would be reset two hours later.

files.tar                                                                                                                                                     50% 9109MB   1.1MB/s 2:12:35 ETAConnection reset by IP port 22
files.tar                                                                                                                                                     50% 9109MB   1.0MB/s 2:27:19 ETAlost connection

I wonder if there is any another more stable way to achieve it.

And also, I heard that rsync can continue interrupted transfers. I tired

rsync -ht --progress --stats  A B

And I tired it again after rebooting my pc. It seems like that I transfer files from zero again.

I wonder how I can continue the interrupted transfer.

Thanks,
Lixu