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 09-20-2003, 09:02 PM   #1
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Unhappy resource +lock -unlock <filename> ?

i need some help on this,

i want to lock a file while im working on it via a itcl script, of which there will be multiple instances of zs trying to access it (so theyll need to check access, etc.).

so i do:
resource +lock "filename" ; set $filename [open $file w]

?

then -unlock "filename" on exit. ?


any help plz :/
b>d>>s is offline  
Old 09-21-2003, 05:49 AM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

I removed resource lock in early b4, as code for it was a mess & noone was using it.
darkone is offline  
Old 09-21-2003, 08:15 AM   #3
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

o
b>d>>s is offline  
Closed Thread

Tags
access, filename, lock, resource, unlock

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 02:24 AM.

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