PDA

View Full Version : [REQ] Tagging releases with an NFO


wooolF[RM]
11-07-2003, 09:52 AM
uhm... here's the idea:

When a release is 100% completed, it gets "tagged" means there will be copied predefined NFO file from predefined location to that 100% complete release.

Here's the try:

/ioFTPD/system/ioFTPD.ini[Events]
..skipped..
OnUploadComplete = EXEC ..\scripts\ioBanana.exe upload
OnUploadComplete = EXEC ..\scripts\tag.bat
..skipped../ioFTPD/scripts/tag.bat@echo off
cd %PATH%
copy c:\ioftpd\bla.nfo
exit 0bla.nfo located in c:\ioFTPD

All folders that have been completed (as I see it by created new folder 100% complete blablabla) does not have that NFO file...

Does anyone see a problem? :confused:

Thanx in advance

ADDiCT
11-07-2003, 10:02 AM
tag.bat will get executed on every uploaded file ... i don't think that's what u want :)
there is no ioFTPD event for 'OnReleaseComplete' since that's determined by the zipscript

Harm
11-07-2003, 10:08 AM
Why don't you use the 'on_release_complete' option of ioBanana ?

I doubt that %PATH% will be resolved to the path of the completed release, but %DIR% in the 'on_release_complete' line will be.

wooolF[RM]
11-07-2003, 10:31 AM
I will try it, thanx for both tips :)
Apreicatted

Basically what I have to do is:

/ioFTPD/scripts/ioBanana.ini
on_release_complete=c:\ioftpd\scripts\tag.bat %DIR%

/ioFTPD/scripts/tag.bat
echo off
cd %%1
copy c:\ioftpd\bla.nfo
exit 0

bla.nfo located in c:\ioFTPD

will try this :) Thanx for extra comments and help on IRC, Harm

wooolF[RM]
11-07-2003, 01:36 PM
nope... doesn't work... I tried with 3 releases, 2 of them was 2 CDs :( :confused:

I get announces on IRC that release is done 100% etc (from ioBanana) but no NFO file in the released folder :(

Guardian
11-07-2003, 03:12 PM
got bored so i made this lil thing ... maybe u like to try out ;)

http://www.ioftpd.com/board/showthread.php?threadid=1848

wooolF[RM]
11-07-2003, 04:38 PM
Problem fixed, thanks to everyone participating :)