Go Back   FlashFXP Forums > > > >

Web interface PHP, iTCL scripts to ease administration.

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-06-2006, 05:24 AM   #1
CoLt-[45]
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: May 2003
Posts: 32
Default How to unlock?

The process cannot access the file 'D:\ioFTPD\users\11' because it is being used by another process. IO user files are locked - Maybe there is an io setting to unlock them?

Using *.aspx to read userfiles for the website Login System.

Please help .. otherwise it has just been a waste of time for me and my website designer :/
CoLt-[45] is offline   Reply With Quote
Old 01-06-2006, 07:06 AM   #2
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

I'm not familiar with ASP, but can u specify how to open the file? You can always open the userfiles in "shared read" mode, even though io has them constantly locked (works for me in ioGroups).
ADDiCT is offline   Reply With Quote
Old 01-06-2006, 10:28 AM   #3
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

No, these files are locked and cannot be unlocked while ioFTPD is running.
You shouldn't rely on these files to be there anyway. The module system allows to use other database backends to store user and group details. That's why ioFTPD offers a scripting API to access them transparently. You can use shared memory, tcl or php.
Harm is offline   Reply With Quote
Old 01-06-2006, 05:53 PM   #4
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

I'm not that familiar with ASP, but can u specify how you open the files? If you open them with shared read access, it's no problem if they are locked by io. Atleast, that's what I do in ioGroups.
ADDiCT is offline   Reply With Quote
Old 01-07-2006, 01:44 PM   #5
mr_F
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 33
Default

maybe you should consider another scripting language.
i've used asp* and it is complete crap.

the following code displayed a locked file (php code) for me:

Code:
<pre>
<?

	$handle = fopen("0",'r');
	while (!feof($handle))
	{
		$buffer = fgets($handle,1000);
		echo $buffer;
	}
	fclose($handle);
?>
</pre>
displayed this ...
Code:
wkup 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
wkdn 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
tagline CENSORED
ratio 0 0 0 0 0 0 0 0 0 0
password CENSORED EVEN THOUGH IT'S A HASH ;)
monthup 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
monthdn 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
limits 0 0 -1 -1 -1
ips CENSORED
groups 0 107
flags X3
dayup 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
daydn 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
credits 0 0 0 0 0 0 0 0 0 0
allup 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
alldn 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
admingroups
so it's nothing you have to change with the daemon, it's the garbage scripting language
mr_F is offline   Reply With Quote
Old 01-07-2006, 06:24 PM   #6
CoLt-[45]
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: May 2003
Posts: 32
Default

Thanks for the reply - but i've managed it fine with aspx now .. thanks

Forgot to post it here as i've posted it on several places for help
CoLt-[45] is offline   Reply With Quote
Reply

Tags
login, process, unlock, userfiles, website

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:58 PM.

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