Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-13-2004, 05:55 PM   #16
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

I switched debug mode on in ioBanana.ini then copied the sequence of events of browsing to /Uploads dir, making a test dir, and uploading a movie relz .nfo from UltraFXP status window. Thought it might be useful for the scripters..

[R] 257 "/" is current directory.
[R] PASV
[R] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,x,x)
[R] Opening data connection IP: xxx.xxx.xxx.xxx PORT: x
[R] LIST -al
[R] 150 Opening ASCII mode data connection for directory listing.
[R] 226 Transfer complete.
[R] List Complete: 872 bytes in 0.00s (87.00KB/s)
[R] CWD Uploads
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/Uploads/" is current directory.
[R] PASV
[R] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,x,x)
[R] Opening data connection IP: xxx.xxx.xxx.xxx PORT: x
[R] LIST -al
[R] 150 Opening ASCII mode data connection for directory listing.
[R] 226 Transfer complete.
[R] List Complete: 3,777 bytes in 0.00s (377.00KB/s)
[R] MKD _test
[R] Current dir: /Uploads/
[R] Value found...
[R] C:\ioFTPD\logs\current_dirs.log
[R] Value found...
[R] 0
[R] Value found...
[R] 0
[R] ioBanana Process Time: 0 ms
[R] exit: 0
[R] ioBanana Process Time: 0 ms
[R] exit: 0
[R] Value found...
[R] C:\ioFTPD\logs\current_dirs.log
[R] Value found...
[R] 0
[R] Value found...
[R] 40
[R] Value found...
[R] [Latest]-[%]
[R] Value found...
[R] D:\ioftpd\site\
[R] Value found...
[R] cd1 cd2 cd3 cd4 cd5 disc1 disc2 disc3 dvd1 dvd2 dvd3 sample samples vobsub vobsubs subtitle subtitles subs subpack codec covers
[R] Value found...
[R] 0
[R] Value found...
[R] 0
[R] Value found...
[R] 0
[R] ioBanana Process Time: 0 ms
[R] exit: 0
[R] Current dir is C:\ioFTPD\scripts\ioBanana.19
[R] ====================
[R] # of arguments: 4
[R] [0] = ..\scripts\ioBanana.19\ioBanana.exe
[R] [1] = dupecheck_dir
[R] [2] = MKD
[R] [3] = _test
[R] ====================
[R] Current dir is C:\ioFTPD\scripts\ioBanana.19
[R] ====================
[R] # of arguments: 4
[R] [0] = ..\scripts\ioBanana.19\ioBanana.exe
[R] [1] = checkdenypre
[R] [2] = MKD
[R] [3] = _test
[R] ====================
[R] 257 "_test" created.
[R] Current dir is C:\ioFTPD\scripts\ioBanana.19
[R] ====================
[R] # of arguments: 4
[R] [0] = ..\scripts\ioBanana.19\ioBanana.exe
[R] [1] = mkd
[R] [2] = MKD
[R] [3] = _test
[R] ====================
[R] PASV
[R] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,x,x)
[R] Opening data connection IP: xxx.xxx.xxx.xxx PORT: x
[R] LIST -al
[R] 150 Opening ASCII mode data connection for directory listing.
[R] 226 Transfer complete.
[R] List Complete: 3,847 bytes in 0.00s (384.00KB/s)
[R] CWD _test
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/Uploads/_test/" is current directory.
[R] PASV
[R] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,x,x)
[R] Opening data connection IP: xxx.xxx.xxx.xxx PORT: x
[R] LIST -al
[R] 150 Opening ASCII mode data connection for directory listing.
[R] 226 Transfer complete.
[R] List Complete: 133 bytes in 0.00s (13.00KB/s)
[R] PASV
[R] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,x,x)
[R] Opening data connection IP: xxx.xxx.xxx.xxx PORT: x
[R] REST 0
[R] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
[R] STOR b-moose.nfo
[R] Value found...
[R] SiTEOPS Nukers
[R] Value found...
[R] ioSitebot PopWeasel
[R] Value found...
[R] 1M
[R] Value found...
[R] 1
[R] Value found...
[R] 1
[R] Value found...
[R] covers sample
[R] Current dir: /Uploads/_test/
[R] Value found...
[R] C:\ioFTPD\logs\transfer.log
[R] Value found...
[R] 0
[R] Value found...
[R] 0
[R] ioBanana Process Time: 15 ms
[R] exit: 0
[R] Current dir is C:\ioFTPD\scripts\ioBanana.19
[R] ====================
[R] # of arguments: 4
[R] [0] = ..\scripts\ioBanana.19\ioBanana.exe
[R] [1] = pre_stor
[R] [2] = STOR
[R] [3] = b-moose.nfo
[R] ====================
[R] 150 Opening ASCII mode data connection for b-moose.nfo.
[R] 226-Value found...
[R] 226-C:\ioFTPD\scripts\ioBanana.19\ioBanana-text
[R] 226-Value found...
[R] 226-0
[R] 226-Value found...
[R] 226-/!ioftpd /pre /requests/___speedtests___
[R] 226-Value found...
[R] 226-1
[R] 226-Value found...
[R] 226-C:\ioftpd\logs\nfos.log
[R] 226-Value found...
[R] 226-/!ioftpd /pre /requests/___speedtests___
[R] 226-Value found...
[R] 226-0
[R] 226-Value found...
[R] 226-0
[R] 226-Value found...
[R] 226-0
[R] 226-Value found...
[R] 226-imdb.nfo
[R] "sitename"- PopWeasel disconnected
PopWeasel is offline   Reply With Quote
Old 05-14-2004, 03:41 AM   #17
iXi
Senior Member
ioFTPD Foundation User
 
Join Date: Nov 2002
Posts: 220
Default

Quote:
caladan

imdb problems were caused by a change from imdb.com.

to fix that u have 2 options

1st: change the lines urself

2nd: redownlowd p-zs. i included the fix in the rar file on my webserver

------
to fix it yourself open imdb.h and search for folloing lines:

//get all infos
while(1)
{
int i =0;
i=recv(MySocket,buffer,100,0);
if( i ==0 )
{break};


WriteFile(hFile,buffer, i,&nBytesWritten,NULL);
}

change this lines to:

//get all infos
while(1)
{
int i =0;
i=recv(MySocket,buffer,100,0);
if( i ==0 | i < 100)
break;


WriteFile(hFile,buffer, i,&nBytesWritten,NULL);
}


-------


have fun

caladan

maybe usefull for fast fix
iXi is offline   Reply With Quote
Old 05-14-2004, 11:00 AM   #18
BerMUdaW
Junior Member
ioFTPD Foundation User
 
Join Date: Apr 2004
Posts: 6
Default can't find any file named imdb.h at iobanana

Doesn't work for me! there isn't any file called

imdb.h

Also tryed to find the specified code but with no result!

Any other solutions?
BerMUdaW is offline   Reply With Quote
Old 05-14-2004, 11:59 AM   #19
iXi
Senior Member
ioFTPD Foundation User
 
Join Date: Nov 2002
Posts: 220
Default

thats no solution for you guys thats an info for harm..
iXi is offline   Reply With Quote
Old 05-14-2004, 02:27 PM   #20
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

The fix was to use HTTP/1.0 in the request header instead of HTTP/1.1
No idea why one hangs and not the other, but eh...
Mouton is offline   Reply With Quote
Old 05-14-2004, 02:34 PM   #21
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Some v20 rc1 to fix this annoying thing for the public ?
Harm is offline   Reply With Quote
Old 05-14-2004, 05:43 PM   #22
Nitr0
Junior Member
 
Join Date: May 2004
Posts: 23
Default

I'm having problems with when someone uploads .nfo file it freezes..., is there any way to fix it or disable this feature in iobanana?
Nitr0 is offline   Reply With Quote
Old 05-14-2004, 08:11 PM   #23
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

hmm..I thought ioBanana.20.RC1 was supposed to fix the imdb hang prob. Just installed and configured it totally and it is still doing this.
PopWeasel is offline   Reply With Quote
Old 05-15-2004, 01:20 AM   #24
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Just tested it again 5 times to be sure but it worked just fine. It looked even faster than before.
Can you give me details ?
Harm is offline   Reply With Quote
Old 05-15-2004, 01:40 AM   #25
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

Ok I'll do my ioFTPD.ini file from scratch tomorrow to be sure. I did it today by commenting out the v19 lines just in case I needed to go back to 19. For example:

##ioBanana.19.full
#user = EXEC ..\scripts\ioBanana.19\ioBanana.exe closed
#pass = EXEC ..\scripts\ioBanana.19\ioBanana.exe ban
#retr = EXEC ..\scripts\ioBanana.19\ioBanana.exe limiter
#mkd = EXEC ..\scripts\ioBanana.19\ioBanana.exe dupecheck_dir
#mkd = EXEC ..\scripts\ioBanana.19\ioBanana.exe checkdenypre
#stor = EXEC ..\scripts\ioBanana.19\ioBanana.exe pre_stor
#ioBanana.20.RC1
user = %EXEC ..\scripts\ioBanana.20.RC1\ioBanana.exe closed %[$service]
pass = EXEC ..\scripts\ioBanana.20.RC1\ioBanana.exe ban
retr = EXEC ..\scripts\ioBanana.20.RC1\ioBanana.exe limiter
mkd = EXEC ..\scripts\ioBanana.20.RC1\ioBanana.exe dupecheck_dir
mkd = EXEC ..\scripts\ioBanana.20.RC1\ioBanana.exe checkdenypre
stor = EXEC ..\scripts\ioBanana.20.RC1\ioBanana.exe sc 50
stor = EXEC ..\scripts\ioBanana.20.RC1\ioBanana.exe pre_stor

..so I guess it's possible I messed something up somewhere but I was pretty sure I didn't because I double-checked everything and also the right ioBanana.exe is being called (verified with firewall). I'd do it now but it's late and I'm sleepy.
Cheers.
PopWeasel is offline   Reply With Quote
Old 05-15-2004, 07:35 AM   #26
panzerfaust
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 112
Default

is it possible to solve this in iobanana19.free ? and if so, how ?
panzerfaust is offline   Reply With Quote
Old 05-15-2004, 09:59 AM   #27
iXi
Senior Member
ioFTPD Foundation User
 
Join Date: Nov 2002
Posts: 220
Default

nop not pissble only fix is ioB 2.0rc1
iXi is offline   Reply With Quote
Old 05-15-2004, 11:36 AM   #28
Psychosis
Member
ioFTPD Foundation User
 
Join Date: May 2003
Posts: 45
Default

im using v20rc1 and mine was hanging too. In ioBanana.ini i changed showNFO=1 to showNFO=0 and now it works fine. All that does is keep the imdb from showing in your ftp client. imdb still shows correctly in irc and such. Your mileage may vary but thats what works for me.
Psychosis is offline   Reply With Quote
Old 05-15-2004, 02:01 PM   #29
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

Odd, today it seems to be working fine. And I haven't done anything different other than restarting the comp since last time when it didn't work. You're right, it does seem to be a little faster now, good work.
PopWeasel is offline   Reply With Quote
Old 05-16-2004, 02:37 AM   #30
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

PopWeasel: nice to know
panzerfaust: register ...
Harm is offline   Reply With Quote
Reply

Tags
dir, generates, iobanana, tmp_xxxxx.nfo, upload

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

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