Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-04-2009, 07:10 PM   #1
Thorrie
Junior Member
 
Join Date: May 2009
Posts: 3
Question Files get deleted after upload

I have been trying to get ioFTPD to work. I have ioFTPD v6.9.3 installed with ioNiNJA.Alpha.v0.8.0.4-2009-01-24. All works fine except that when I upload files they get deleted right away. Even sfv files get deleted. I'm sure it's something I did wrong in the config files but I just cant find what. Can someone help me out?

Dir's get created fine but files get deleted right after they are uploaden.

I hope someone can help me out.

grtz
Thorrie is offline   Reply With Quote
Old 05-04-2009, 09:21 PM   #2
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

Look at the OnUploadComplete event in the .ini file. If that event fails because it has an invalid path or if the script generates a runtime error (which often ends up being recorded in logs\SystemError.log) then the file is considered "bad" and deleted...
Yil is offline   Reply With Quote
Old 05-05-2009, 01:11 AM   #3
Thorrie
Junior Member
 
Join Date: May 2009
Posts: 3
Default

Thanx, there is something in the log indeed.

In the error log I find
Code:
05-05-2009 00:11:11 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ioNJ(load_cfg_startup)": no such variable
    while executing
"if { !$ioNJ(load_cfg_startup) } {
	if {[catch {source "../scripts/ioNiNJA/ioNiNJA.cfg"} error]} {
		iputs $error
		return
	}

	if {[catch {source "../..."
    (file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 4)
------------------------------------------------------------------
And lines 4 to 21 of ioNiNJA.itcl are
Code:
if { !$ioNJ(load_cfg_startup) } {
	if {[catch {source "../scripts/ioNiNJA/ioNiNJA.cfg"} error]} {
		iputs $error
		return
	}

	if {[catch {source "../scripts/ioNiNJA/themes/$ioNJ(themefile)"} error]} {
		iputs $error
		return
	}
}

if {[regexp -nocase $ioNJ(skipdirs) $pwd]} {
  	return 
}


source ../scripts/ioninja/misc/ninjalib.tcl
Doesn't seem wrong to me... :S

So now I'm stuck again.
Thorrie is offline   Reply With Quote
Old 05-05-2009, 05:44 AM   #4
razoor
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2006
Posts: 163
Default

just reinstall ioNiNJA.
You have prolly just made a misstake when installing it.
So install it without changing annything in the script, and then change one option at the time.

and check this option.
Quote:
# Force sfv to be uploaded first, before accepting any files, files uploaded will be deleted
set ioNJ(force_sfv_first) 0
Probably not whats causing this atm. But you never know.
__________________
ioFTPD 7.0.3 nxTools ioNiNJA ioJM http://ioftpd.zapto.org /
razoor is offline   Reply With Quote
Old 05-05-2009, 02:59 PM   #5
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

Make sure you installed the init.itcl file from ioNinja into the /scripts dir.
Yil is offline   Reply With Quote
Old 05-06-2009, 09:54 AM   #6
Thorrie
Junior Member
 
Join Date: May 2009
Posts: 3
Default

Yil ... thank you.. that was the problem.

Works fine now !
Thorrie is offline   Reply With Quote
Reply

Tags
deleted, files, fine, upload, upload problem delete

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 04:01 AM.

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