Go Back   FlashFXP Forums > > > >

Suggestions Post suggestions for upcoming versions

 
 
Thread Tools Display Modes
Old 10-21-2001, 09:13 AM   #1
dreyfusj
Junior Member
FlashFXP Registered User
 
Join Date: Oct 2001
Posts: 3
Default Safe Mode Saving

Hi,

Is there a safe mode like in BulletPr**f or in GetR*ght when saving a file to a PC (Win 98 SE). It really helps when the PC crashed while downloading.

Thanks !
dreyfusj is offline  
Old 10-21-2001, 10:48 PM   #2
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

FlashFXP will automaticaly "checkpoint" i belive every minute.
MxxCon is offline  
Old 10-22-2001, 11:29 AM   #3
dreyfusj
Junior Member
FlashFXP Registered User
 
Join Date: Oct 2001
Posts: 3
Default

On my system, the downloaded file size remains = 0 until the download is completed. Only then the file gets its final size. If a crash occurs before the complete download, the queue is saved OK but the file fragments get lost in most cases.

.jfd.
dreyfusj is offline  
Old 10-22-2001, 12:30 PM   #4
Fusion
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 542
Default

If I understand him right (and recall bpftps scheme), he's asking for an continous write-to-disk option. It's somewhat safer as far as "crash-recovery" goes, but more intense on system resources due to the disk-writes. Depending on the system setup, it could also be slower than buffered writes.
Fusion is offline  
Old 10-22-2001, 02:34 PM   #5
Fused
Member
 
Join Date: Oct 2001
Posts: 31
Default

Uhm, as far as I can tell, FFXP does a semi-continuous write. It updates on disk every few seconds, (10-15?).

If you refresh your local window while downloading, you'll see the size going up every once in a while, it doesn't update the window until the file is done so it looks like it's still on 0 bytes, but if you refresh the window you'll see it's actually writing the file.
Fused is offline  
Old 10-22-2001, 02:51 PM   #6
Fusion
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 542
Default

Yea, but in a crash the file will be set at 0 bytes (and depending on the severity of the crash, the disk-checker dump the real file in it's windows-equivalent to lost+found/. I can see what a hassle that is for dialup users.

I'm not sure how to fix it so the file isn't marked "dirty" while download is underway, but I imagine some soft of sequential solution is used by bp.
Fusion is offline  
Old 10-22-2001, 06:12 PM   #7
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

NTFS doesn't have this problem

sometimes when FAT system crashes it will lose such file, and sometimes it won't...
MxxCon is offline  
Old 10-22-2001, 08:30 PM   #8
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I did some further testing and it appears win9x handles it differently. (doesn't work as intended)

FlashFXP flushes the file buffers using the FlushFileBuffers() API every 60 seconds. This works great under win2k but I did some testing in Win9x and it didn't seem to have any effect. I'm not sure why and I was unable to find any explanation.

The only other solution I can think of would be to constantly open/close the file and that's not something I am willing to do, even as an option, because it requires completely rewriting my perfectly working and fine tuned buffered stream file I/O component.
bigstar is offline  
 

Tags
crashed, helps, mode, safe, saving

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleted Profile On Flash rouil General Discussion 0 04-02-2005 09:03 PM
Transfer failed "[R] 501- ==YOU'RE BEHIND A NAT ROUTER==" error ardenj General Discussion 2 01-18-2005 11:40 PM


All times are GMT -5. The time now is 02:42 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)