Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 05-25-2004, 09:58 AM   #1
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default vfs stuff

Ok a simple question apparently since !vfs:del doesnt exist anymore and deleting a dir via explorer doesnt update the cache from ioftpd I would assume that calling io with shmem all I need to do is use #define DC_DIRECTORY_MARKDIRTY 22

Is that correct? since there is no real docs on that.
Or should I use the harder way and use
#define DC_FILEINFO_READ 11
#define DC_FILEINFO_WRITE 12

and parse the vfs using the DC_VFS and vfs.h contents?

Or can I just as well update the .ioFTPD file myself by locking it, updating it myself and unloacking it?

Which is the best solution??
FTPServerTools is offline  
Old 05-25-2004, 10:01 AM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Using DC_DIRECTORY_MARKDIRTY will force ioFTPD to flush the cache for the specified directory and the content will be recached next time the directory is listed.
Harm is offline  
Closed Thread

Tags
dc_fileinfo_write, parse, update, vfs

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


All times are GMT -5. The time now is 04:49 PM.

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