Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-22-2004, 10:16 AM   #1
Somnus
Junior Member
 
Join Date: Jun 2004
Posts: 16
Question iobananav2.0 - Some questions

Hello all,

I have just a few questions that might sound easy, but I have racked my brain trying to figure them out.

I use an oncompletion command to automatically unrar any completed release that is uploaded to my server. Here is the command:

on_release_complete=md D:\Extracted\%DIRNAME% | start d:\ioFTPD\scripts\HideRun.exe d:\ioFTPD\scripts\unrar.exe x %FIRSTFILE% d:\Extracted\%DIRNAME%

Here is the problem. Let's say someone has just uploaded a movie, we'll call it SuperDuperMan2004. It has 3 cds inside. The on_release_complete command works fine, but it does not create the following folder output:

SuperDuperMan2004
.cd1
.cd2
.cd3

It is creating just the cd1,cd2,cd3 folders and extracting the bin/cue from inside. How do I get it to create the main parent folder as well?

Second thing. How do I get it to do a progress meter for the status of a current upload release? And a "completed" folder/file inside the completed release folder?
Somnus is offline   Reply With Quote
Old 11-27-2004, 03:21 AM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

What are the paths you get now ? And what are the ones you want ?
Harm is offline   Reply With Quote
Old 11-27-2004, 05:55 PM   #3
Somnus
Junior Member
 
Join Date: Jun 2004
Posts: 16
Default

Right now I am getting the following. If someone uploads a 2 cd release, it extracts as

CD1
CD2

What I would like it to do is make the parent folder. Like:

Release
.cd1
.cd2

This is my commandline:

on_release_complete=md D:\Extracted\%DIRNAME% | start d:\ioFTPD\scripts\HideRun.exe d:\ioFTPD\scripts\unrar.exe x %FIRSTFILE% d:\Extracted\%DIRNAME%

How would I change it to what I would like?
Somnus is offline   Reply With Quote
Reply

Tags
command, completed, folder, inside, 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 10:13 AM.

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