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 08-20-2015, 06:46 AM   #1
Robert_ack
Junior Member
 
Join Date: Aug 2015
Posts: 4
Default i need help to create my own script

hello i need that my ioftpd executes an exe on event OnUploadComplete starts an exe with argument the path and filename including its extension of the file that caused the event

i know how to start the exe but i dont know how to make it getting those arguments . is there any way to achieve this ?



result should be something like this

file uploaded to site: /pwd/rel/filename.part1.rar

ioftpd says windows to exec myexe.exe /pwd/rel/filename.part1.rar"


so far i have achived (very easily)

file uploaded to site: /pwd/rel/filename.part1.rar

ioftpd says windows to exec myexe.exe

by adding the event on ioftpd.ini


is there a way to make it send the parameters ? regards

Last edited by Robert_ack; 08-20-2015 at 09:15 AM.
Robert_ack is offline   Reply With Quote
Old 09-12-2015, 11:49 AM   #2
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

ioftpd passes args in deault mode. The simplest way is to achive your goal is to create a itcl script that passes the args you need to the exe. Another option would be to rewrite the program to respond to the default arguments.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 09-12-2015, 03:02 PM   #3
Robert_ack
Junior Member
 
Join Date: Aug 2015
Posts: 4
Default

what you mean by default argument ? you mean %1 , %2 and so on ?
Robert_ack is offline   Reply With Quote
Reply

Tags
exe, event, file, ioftpd, windows, exec, myexe.exe, uploaded, site, make

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:23 PM.

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