PDA

View Full Version : How to unlock?


CoLt-[45]
01-06-2006, 05:24 AM
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 :/

ADDiCT
01-06-2006, 07:06 AM
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).

Harm
01-06-2006, 10:28 AM
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.

ADDiCT
01-06-2006, 05:53 PM
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.

mr_F
01-07-2006, 01:44 PM
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:


<pre>
<?

$handle = fopen("0",'r');
while (!feof($handle))
{
$buffer = fgets($handle,1000);
echo $buffer;
}
fclose($handle);
?>
</pre>

displayed this ...

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

CoLt-[45]
01-07-2006, 06:24 PM
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 :p