Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 12-13-2004, 04:53 PM   #1
Joker
Senior Member
 
Join Date: Jul 2002
Posts: 182
Default Need help with on transfer complete

I would like flashfxp to run a bat file when the transfer of 1 folder completes (not whole queue complete).

Is there anyway to do this?
Joker is offline  
Old 12-13-2004, 07:48 PM   #2
Shark
Senior Member
FlashFXP Beta Tester
 
Shark's Avatar
 
Join Date: Oct 2001
Posts: 606
Default

Maybe this should be in suggestions ?

I'll double check, but I don't think this is a current feature.
Shark is offline  
Old 12-14-2004, 05:54 PM   #3
Gioggiolo
Junior Member
 
Join Date: Dec 2004
Posts: 12
Default

Have You Tried this?

Added program execution after transfer complete.
To use this functionality you must add the following section to the FlashFXP.ini
[run]
app=<full\path\to\exe>
param=<any params you need to pass, use the %f macro to pass the filename>
show=1
show application window has two values 0=hidden 1=visible

Simple Example
[run]
app="c:\vscan.exe"
param="/scan %f"
show=0
Gioggiolo is offline  
Old 12-15-2004, 05:16 AM   #4
Joker
Senior Member
 
Join Date: Jul 2002
Posts: 182
Default

Gioggiolo

I havent tried that but that would only work with queue complete.
Not when one folder completes.

What i am doing is this, i have a bat file that runs winrar and unrar the files inside the folder.

But I always queue like 4-5folders and each of them has 2 subdirs where the rarfiles are.
So when one subdir has been downloaded completely i want the batfile to load and unrar it.


If this isnt possible yet, can someone move this thread to suggestion please?
Joker is offline  
Old 12-15-2004, 10:39 AM   #5
NathanO
Senior Member
FlashFXP Registered User
 
NathanO's Avatar
 
Join Date: May 2002
Posts: 126
Default

You may be able to use the [run] app setting in FlashFXP.ini, to run the .bat after each successful file download.

You could arrange the queue so that the .rar file (or .001, or part01.rar etc) is the last file in a folder (this is usually the case anyway for .rar - but make sure for the other types), and edit the .bat so that if the extension is equal to .rar or .001 etc (the last file downloaded in the folder after you have arranged the queue), the extractor does it's business.

If the file doesn't match (.r01, .002, part02.rar), the extractor is not loaded.

Assuming all files download with no errors, this may work (in theory).

You could even modify the priority list so you won't need to manually adjust the queue.
NathanO is offline  
Old 12-15-2004, 03:25 PM   #6
Gioggiolo
Junior Member
 
Join Date: Dec 2004
Posts: 12
Default

1) FlashFXP.ini
[run]
app="hidden.exe"
param="go.bat"


2) FlashFXP.exe .... -savequeue"End.fqf"

3) go.bat
@echo off
IF EXIST End.fqf (
start Command
or CALL File.BAT
del /q End.fqf
)
Gioggiolo is offline  
Old 12-15-2004, 06:01 PM   #7
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

Gioggiolo, what would be the point of your go.bat?

if you are trying to find out when queue is complete you can use another undocumented trick
sound events accept .bat files, so you can run it on queue completion
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 12-16-2004, 05:04 PM   #8
Gioggiolo
Junior Member
 
Join Date: Dec 2004
Posts: 12
Default

Quote:
Originally posted by MxxCon
sound events accept .bat files, so you can run it on queue completion
It's very interesting...

Tnx
Gioggiolo is offline  
Closed Thread

Tags
complete, completes, flashfxp, folder, transfer

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fxp for a dummy pop General Discussion 1 05-05-2005 11:53 AM


All times are GMT -5. The time now is 11:29 PM.

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