Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-11-2006, 08:10 PM   #1
jenga201
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Aug 2005
Posts: 9
Default Copy .nfo on upload complete

Is it possible to add some command into zipscript-c.php that will transfer that dir's .nfo to another directory when the .sfv is complete? Or maybe a better way where i don't have to edit any script code.

I'd just like something that copies the .nfo to another directory whenever an .sfv checks out complete.

Thank you.
jenga201 is offline   Reply With Quote
Old 04-12-2006, 11:24 AM   #2
jenga201
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Aug 2005
Posts: 9
Default

ok, so i saw a thread below this one about the same type of deal...and i made a .bat file to do what i want:

if exist %1\*M*F*COMPLETE* goto copy
exit
:copy
mkdir "C:/Directory%PWD%"
copy %1\*.nfo "C:/Directory%PWD%"
exit

I'm just wondering if there's a variable that's just the directory name...like %PWD% is actually /VirtualPath/Dirname. But to make this easier, it would be helpful for just /Dirname

Any suggestions?

Thanks.
jenga201 is offline   Reply With Quote
Reply

Tags
.nfo, .sfv, complete, directory, 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 03:10 AM.

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