Long ago I sent a patch to add resume feature to scp(1) but Damian
Miller rejected it
because it would break backward compatibility.

Nammala mathiri poor nations pathi yaruku kavalai? ;)

So I came up with this idea.

In case your upload fails at a particular point of any file( file type
does not matter at all)

Then dd can get you the remaining bits to be uploaded like this.

$ dd if=upload.iso of=remaining.bin skip=1232322 bs=1

Remember!

You have to know the byte offset (1232322) and bs=1 will take care of that.

And once you get the two files at the remote end.

$ cat broken.iso remaining.bin > full.iso

Try it!

After that of course you have to run a sha1 checksum to ensure that
the file is not
corrupted.

I shall send the language tip later. I shall be analyzing the trickle
source code.

Look at this.

http://monkey.org/~marius/trickle/trickle.pdf

It is a bandwidth control application. It is an amazing tool but I
have never used it. ;)

Hopefully I will use it soon at one of my client locations.

I will take time. Please bear with me.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to