Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > ! Requests

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

Reply
 
Thread Tools Rate Thread
Old 07-30-2004, 09:34 AM   #1
Junior Member
 
Join Date: Feb 2003
Posts: 14
Default [REQ] Rename SFV/NFO to directory name on upload

would like a script that converts *.nfo and *.sfv filname too parentdirname.nfo
if tre.nfo is uploaded into trying/try/ it will be named try.nfo
odog is offline   Reply With Quote
Old 07-30-2004, 11:31 AM   #2
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,364
Default

In the event that more then one NFO or SFV is uploaded, what would you like the script to do then? This would be a problem with "spam/tag" NFOs that are uploaded.

What about only renaming the NFO to the directory name if the group suffix matches the filename. For example:

1. The directory /Blah/Something.Cool-ABC is created.
2. 123.nfo and ABC.nfo and are uploaded to that directory.
3. ABC.nfo is renamed to Something.Cool-ABC.nfo since it matches the group suffix (ie. /Blah/Something.Cool-ABC).
neoxed is offline   Reply With Quote
Old 07-30-2004, 11:45 AM   #3
Junior Member
 
Join Date: Feb 2003
Posts: 14
Default

would work. but group suffix is kinda hard in many diffrent sections
odog is offline   Reply With Quote
Old 08-01-2004, 01:37 AM   #4
Junior Member
 
Join Date: Feb 2003
Posts: 14
Default

renaming the nfo file would be enough yes... my bad
odog is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 09:26 AM.