Gnutella Forums  

Go Back   Gnutella Forums > Discontinued Gnutella Client Forums > XoloX (Windows) > XoloX Feature Request
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

XoloX Feature Request Missing something? Let us know. XoloX has been discontinued. We highly recommend you use an actively developed client instead.


 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 15th, 2001
Unregistered
Guest
 
Posts: n/a
Default Update resumeinfo.txt in an safer way

Currently all information about current downloads may be lost if xolox crashes while it is updating the resumeinfo.txt file. (It has happened to me twice).
One quite easy way of doing it much safer is:
Rename the old resumeinfo.txt to resumeinfo.bak
Write the new resumeinfo.txt in the same way as now.
Delete resumeinfo.bak

When starting xolox:
If there is an resumeinfo.bak, use it instead of resumeinfo.txt.


Additionally it would be nice if you flushed the temporary files to disk more often than now. My experience is that you only flush the temporary files when the connection to corresponding server is lost.
Flush a file in this context => close file then open file for appending. (and update resumeinfo.txt if needed)
  #2 (permalink)  
Old September 15th, 2001
Panthera Onca
 
Join Date: September 7th, 2001
Location: CA
Posts: 238
The Seeker is flying high
Default Re: Update resumeinfo.txt in an safer way

Quote:
Originally posted by Unregistered
Currently all information about current downloads may be lost if xolox crashes while it is updating the resumeinfo.txt file. (It has happened to me twice).
One quite easy way of doing it much safer is:
Rename the old resumeinfo.txt to resumeinfo.bak
Write the new resumeinfo.txt in the same way as now.
Delete resumeinfo.bak

When starting xolox:
If there is an resumeinfo.bak, use it instead of resumeinfo.txt.
This has been requested before, only in a slightly different manner:

Upon starting or stopping a segment, copy resumeinfo.txt to resumeinfo.bak, then write resumeinfo.txt. If, upon startup, resumeinfo.txt is corrupt (there are fewer segment identifiers than there should be), or there are more jobs in /temp than are listed in resumeinfo.txt, copy resumeinfo.bak to txt and use that instead.

Quote:
Additionally it would be nice if you flushed the temporary files to disk more often than now. My experience is that you only flush the temporary files when the connection to corresponding server is lost.
Flush a file in this context => close file then open file for appending. (and update resumeinfo.txt if needed)
I'm not sure, but wouldn't closing the file require you to kill the connection of who you are downloading from? No program that I've used to download from the internet 'flushes' the file it's downloading in the manner you describe until it is complete or is disconnected.

Even if it could be done without dropping downloads, I don't see what this would do to help the program any. The FAT seems to be updated every time a write is done to the disk -- as I've crashed hard several times on this POS Compaq while downloading, and it hasn't found megs of lost clusters yet -- and XoloX does a rollback to eliminate corrupted datastreams.
 


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update warning error - which one to update to? Lord of the Rings General Mac Support 0 November 30th, 2005 07:56 AM
Feel Safer Not Sharing FroZen In Time Open Discussion topics 6 September 7th, 2004 06:05 PM
Unistall/Upgrade XoloX and resumeinfo.txt Unregistered Support: General 2 June 25th, 2002 04:57 PM
resumeinfo.txt Unregistered Support: General 1 October 31st, 2001 03:01 PM
resumeinfo.txt guru Support: General 1 September 23rd, 2001 10:42 AM


All times are GMT -7. The time now is 11:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.