Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-04-2006, 10:41 AM   #1
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default sharedb import ?

hi.. im running sharedb..
And i want to import my old users..

so i guessed thats what ioimport is for..

but it doesnt seem to work.. :x

ioexport settings

## Path to export the GroupIdTable and UserIdTable to (use foward slashes).
set IE(GroupIdTable) "C:/ioFTPD/sqlexport/GroupIdTable"
set IE(UserIdTable) "C:/ioFTPD/sqlexport/UserIdTable"

## Path to export the user and group files to (use foward slashes).
set IE(GroupFiles) "C:/ioFTPD/sqlexport/groups"
set IE(UserFiles) "C:/ioFTPD/sqlexport/users"

ioimport settings is the normal file paths...
zOrP is offline   Reply With Quote
Old 05-04-2006, 11:54 AM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally Posted by zOrP
hi.. im running sharedb..
And i want to import my old users..

so i guessed thats what ioimport is for..

but it doesnt seem to work.. :x
What exactly doesn't work? Vague statements don't help anyone.

nxImport is for importing users INTO the shared database.
nxExport is for exporting users OUT of the shared database.

It's really not that hard...
neoxed is offline   Reply With Quote
Old 05-04-2006, 12:16 PM   #3
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

hehe.. relax man..

enough with the angry replies..
Just testing your nice script..

but seems it was working fine..

I was just anxious and didnt wait for it to run cmd..
zOrP is offline   Reply With Quote
Old 05-08-2006, 03:46 PM   #4
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

another question about your fine import and export script..

this question is about ioexport.

does ioexport lock the useridtable ?

cause i pointed all my scripts at c:/ioftpd/sqlexport/useridtable instead,
and none seem to work.
all say failed to open useridtable.. :x

any ideas or ways to fix ?
zOrP is offline   Reply With Quote
Old 05-08-2006, 04:05 PM   #5
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

No, nxExport doesn't lock the UserIdTable or GroupIdTable files. The only thing I can think of is the script could have encountered an error and failed to close the handles to those files.

Can you try restarting ioFTPD and see if the other scripts are table to read the files.
neoxed is offline   Reply With Quote
Old 05-09-2006, 02:03 PM   #6
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

i tried to restart ioftpd.. didnt help..
but the prob cant be your script.

cause
im running all my scripts on the quota bot..

and i tried to put the compare script on the 1 site bot.
there its working fine.

so 2 bots on same machine.
1 where scripts are working.
and 1 where they aint.. weird.. :-?
zOrP is offline   Reply With Quote
Old 05-09-2006, 09:08 PM   #7
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Which other scripts use the UserIdTable/GroupIdTable files? It's possible that they might be locking/not-closing the files in question.

Try using Process Explorer from Systernals to find the open handles.
neoxed is offline   Reply With Quote
Old 05-10-2006, 08:37 AM   #8
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

im not sure any other scripts are using useridtable...

the weird thing is the sitebot with dzsbot can run the scripts reading from useridtable,
but the quota bot cant..
both bots are on same server, and i tried disabling all other scripts on the quotabot..
still notting.. :x
zOrP is offline   Reply With Quote
Reply

Tags
foward, ioimport, set, sharedb, slashes

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 07:35 AM.

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