This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Resume Copy for broken files like HTTP/FTP resuming

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
Matthias030
Senior Member
Senior Member


Joined: 04 Mar 2007
Posts: 408
Location: Berlin

PostPosted: Wed May 19, 2010 9:52 am    Post subject: Resume Copy for broken files like HTTP/FTP resuming Reply with quote

For HTTP/FTP downloads it is possible to resume download of partial files after connection was interrupted.
Sometimes I use a network share over an internet vpn connection. If I copy a file and the connection is lost, it is not possible to resume the copy of the partial copied files.

Can you make an option to do this? At this time only "append" is possible, but this is not what I want.
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34294
Location: Switzerland

PostPosted: Wed May 19, 2010 2:53 pm    Post subject: Reply with quote

Unfortunately it's not possible. Why? To avoid fragmentation, TC sets the total size of the target file before starting the transfer. Therefore it's not possible to see how far the copying went when there is a complete connection loss.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
aakka
Junior Member
Junior Member


Joined: 02 Aug 2017
Posts: 2

PostPosted: Wed Aug 02, 2017 12:52 am    Post subject: Reply with quote

ghisler(Author) wrote:
Unfortunately it's not possible. Why? To avoid fragmentation, TC sets the total size of the target file before starting the transfer. Therefore it's not possible to see how far the copying went when there is a complete connection loss.
sample of resume


Hello there,
Are you sure that it's not possible?
Thanks


Last edited by aakka on Sun Aug 06, 2017 5:15 am; edited 3 times in total
Back to top
View user's profile Send private message
aakka
Junior Member
Junior Member


Joined: 02 Aug 2017
Posts: 2

PostPosted: Sun Aug 06, 2017 5:11 am    Post subject: Re: Resume Copy for broken files like HTTP/FTP resuming Reply with quote

Matthias030 wrote:
For HTTP/FTP downloads it is possible to resume download of partial files after connection was interrupted.
Sometimes I use a network share over an internet vpn connection. If I copy a file and the connection is lost, it is not possible to resume the copy of the partial copied files.

Can you make an option to do this? At this time only "append" is possible, but this is not what I want.


Sorry
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34294
Location: Switzerland

PostPosted: Mon Aug 07, 2017 7:46 am    Post subject: Reply with quote

This could be possible when using CopyFileEx with special parameter COPY_FILE_RESTARTABLE. However, as Microsoft write:
"This can significantly slow down the copy operation as the new file may be flushed multiple times during the copy operation."

Furthermore, there are no functions to check whether a file is a partial file or not. CopyFileEx allocates the entire space needed at the start, so a partial file has the same size as the complete file.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group