Go Back   FlashFXP Forums > Community Chatter > Programming

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

Closed Thread
 
Thread Tools Rate Thread
Old 05-25-2004, 09:58 AM   #1
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 558
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
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
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
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 12:37 PM.