PDA

View Full Version : todays link/dir


newbee
04-09-2006, 04:53 PM
hey guys

first, a hello from me .................and now to the point :p
i've got ioFTPD running with eggdrop,running all smooth and fine but i got a question regarding the today's link/dir
i want a permanent dir in my root called "todays-something" that will guide the user to the "todays-something" uploads
so if the day ends and the next day starts and u should click the todays-something dir you'll see the uploads for the new day
i tried a lot a things but somehow i dont manage to get it right

could you guys help me out here plz ?
hope you know what i mean ;)

thx

helenoksen
04-09-2006, 06:39 PM
read the documentation for ioA from the scripts section and see if what you're looking for is in there..

greetz,

FTPServerTools
04-10-2006, 03:46 AM
And if you find ioA to big for that then there also is NewDay.

newbee
04-10-2006, 03:49 AM
ok..i added this line to the ioa.cfg

Newdate_0 = "0day|0day|H:\SITE\0day\%M%D|/0day/%M%D|H:\SITE\todays-0day|0|0|0|1|777"

so it shoud now create a link to the todays 0day ??
if that should be the case it aint working right now :S

EwarWoo
04-10-2006, 05:32 AM
It doesn't do it instantly it kicks over at midnight from the scheduler, and you also need to add in the scheduler line for that reason.

newbee
04-10-2006, 05:41 AM
this is what i got @ scheduler

Newday = 0 22 * * EXEC ..\scripts\ioA\ioA.exe NEWDATE <-- 22 is because if i set it at 0 its running 2 hours late..that works,it creates a new dir,no probs with that

Newdate_0 = "0day|0day|H:\SITE\0day\%M%D|/0day/%M%D|H:\SITE\todays-0day|0|0|0|1|777"

so that line would be ok..i just have to wait till midnight and it should work ok you say ?

helenoksen
04-10-2006, 05:59 AM
you could execute that cmd manually by adding that same line under fpt_site_commands then set diff. time settings and experiment with it.

hth,

newbee
04-10-2006, 06:38 AM
i stopped ioftpd ..removed the 0410 dir and set the scheduler so it creates a new dir @ 2pm..lets see what happens

newbee
04-10-2006, 07:03 AM
(14:00:43) (|xxx|) -:: NEW DATE 0day ::- New date for 0day./0day/0410

so it created a new dir as planned but there is still no todays-0day folder in the root of my site :S
any ideas ?

*edit*..just found out when im browsing my hdd it created a todays-0day folder in the right dir but it doesnt show up in flashfxp :S

plz help..im going crazy here :rolleyes:

helenoksen
04-10-2006, 10:01 PM
i think u need to create the TODAY-0DAY dir in your ioftpd/site dir
it needs to exist physically

hth

newbee
04-12-2006, 11:36 AM
k..problem solved
thx to you know who ;)