Re: Patch to add resume feature to scp

This is a discussion on Re: Patch to add resume feature to scp within the OpenSSH Development forums, part of the Networking and Network Related category; ------=_Part_10147_12370349.1147253670701 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2006
Girish Venkatachalam
 
Posts: n/a
Default Re: Patch to add resume feature to scp

------=_Part_10147_12370349.1147253670701
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Sorry folks, there was a nasty merge issue and hence my previous patch
was broken.

Please bear with me for the oversight.

Here is the correct patch.

regards,
Girish

On 5/10/06, Girish Venkatachalam <girish1729@gmail.com> wrote:
> Dear all,
>
> I have enhanced scp to do the following.
>
> 1) Check the SHA1 checksums of the file fragments at the source and
> destination and resume file transfer from where it left off last time
>
> 2) If the file checksums match and size also matches, then the file is
> assumed to be identical and skipped, the user is also informed of the
> same
>
> 3) If the destination file size is larger than the source, it is
> overwritten(conforms to prev behavior, the enhancement here being that
> checksum computation is short circuited)
>
> 4) If the checksums do not match for the fragment, then the file is overw=

ritten
>
> 5) All the above works well in recursive mode also, the identical
> files are skipped, broken transfers resumed and all other times files
> are transferred like before
>
> 6) One important feature of this enhancement is that if the same file
> is not found at the destination , then the previous wire protocol is
> preserved, thus there would be no version mismatch problem for fresh
> transfers.
>
>
> However these changes do necessitate a bump in the version number
> IMHO. I could not think of any other way to solve this problem.
>
> I will only be too glad to make whatever changes are necessary to
> apply this patch to HEAD.
>
> Hope you like this work. :-)
>
> regards,
> Girish
>
>
>



--=20
Whenever people agree with me I feel I am wrong. -- Oscar Wilde

------=_Part_10147_12370349.1147253670701
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev

------=_Part_10147_12370349.1147253670701--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:58 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0