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-30-2003, 04:44 AM   #1
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default Shared memory?

Is there something that is still missing, or should I start optimizing the code?
darkone is offline  
Old 05-30-2003, 04:56 AM   #2
tff2
Junior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 3
Default !unlock

Hi D1,

don´t know if my post here is correct... but what about the !unlock feature (to kick people why they are downing or upping to a dir to nuke it) ?

Will it be re-enabled soon ?

Till l8er man, keep up da good work !
sOlOnElY
tff2 is offline  
Old 05-30-2003, 05:27 AM   #3
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

basically I have been able to do almost everything I wanted with the shared memory thing. It works like a dream. The only wish would be the ability to also write into it, e.g. with a copytoio event or something. I can imagine it isnt the simplest thing since for example I could add ip masks or removed them and thus need more memory.
For example, I could think of implementen a user database from any odbc database this way by catching the USER/PASS ... events.
Or at least it wouldnt be far off then.....
FTPServerTools is offline  
Old 05-30-2003, 05:37 AM   #4
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Amount of memory required by USERFILE structure is static. Altering it is already possible in 4.9.x with window messages & shared memory (see datacopy example).
Or did you mean the STATIC structure, used by who? (The one that is currently being raped ;p to allow storing real path names along with virtual paths)
darkone is offline  
Old 05-30-2003, 03:06 PM   #5
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

is shared mem avail in win2k with 4.9.x ?
didn't play with it yet since i have many win2k sites for which i develop...
Mouton is offline  
Old 05-30-2003, 04:10 PM   #6
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Yep.. should work with win2k.. I also implemented support for 9X/ME.. incase someone wants to write backwards compatible code
darkone is offline  
Old 05-30-2003, 04:32 PM   #7
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

I see only the userfile would be interesting. But i can imagine the STATIC struct may in some really odd util be handy to be written to. Although I cant see any valid reason now. The userfile structure makes a LOT more sense for that.
FTPServerTools is offline  
Closed Thread

Tags
code, memory, missing, optimizing, start

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 03:05 AM.

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