PDA

View Full Version : Question about Pre_Run_Script with curl.exe


iam
02-28-2005, 02:26 AM
in ioA:

# run a script after pre
Pre_Run_Script = "d:\ioFTPD\scripts\imdb.exe"

I do not have imdb.exe
I want to test with curl.exe but which is the good syntax ?

Harm
02-28-2005, 02:49 AM
What do you want to do with curl.exe ? If you wanna fetch, parse and log imdb info, you won't be able to do it with a simple call to curl.exe.

iam
02-28-2005, 08:53 AM
hmm ok..
which solution then for annouced imdb/allocine/nfo url on pre ?
if I do not use ioB and ioA

JoeBAR
03-11-2005, 09:27 PM
nfourl, part of dzsbot...

iam
03-12-2005, 06:02 PM
JoeBAR on PRE, not on on upload nfo (race)

JoeBAR
03-25-2005, 06:54 PM
You need to set all your stuff properly...

that include the ND_PRE_SECTIONS in init.tcl, part of newdir. OnSitePre.TCL will make the necessary search in nfo, similar to nfourl.tcl, and put in ioftpd.log the imdb entry.

dzsbot, if configured properly, will announce the imdb entry, and create the relevant messages/nfo...

Good Luck!

whocarez2k5
07-31-2005, 04:41 AM
I have just also installed ioA and missing imdb.exe and script.exe.
Where can i get that?

neoxed
07-31-2005, 04:56 AM
Whocarez2k5, the "script.exe" and "imdb.exe" files are just examples, to demonstrate the purpose of the configuration option.

whocarez2k5
04-09-2006, 01:39 PM
Whocarez2k5, the "script.exe" and "imdb.exe" files are just examples, to demonstrate the purpose of the configuration option.
Almost a year after last reaction :(
Again i have installed io and now i have it totaly working as i want it.
Still having the problem with imdb.exe.
I use ioA and there is a option under pre to run script after pre

# run a script after pre
Pre_Run_Script = "d:\ioFTPD\scripts\imdb.exe"

You said it's to demonstrate how it can be done, but what to put in place for imdb.exe then?

Harm
04-09-2006, 01:49 PM
Long answer short: if you don't know what to put there, the better is to leave it blank.

Long answer (long version this time): this option is available for the users who would like to run a specific script on pre. It can be used to get information from imdb (thus the example using imdb.exe), insert something in a database, etc.

zOrP
04-15-2006, 11:34 AM
hehe..

There is no imdb.exe script..

But if u want url on your pre..

just use nfourl.itcl and newdir3.5.2 from b0unty.

in your init.itcl u can edit if u want nfourl on pres.. :)

set ND_DISABLE(nfourl) 0 ; # parse .nfo for imdb/allocine/urls on PRE