View Single Post
Old 05-25-2015, 09:07 AM  
DayCuts
Senior Member
 
Join Date: Dec 2003
Posts: 421
Default

I would second the /loadqueue /savequeue suggestion, it would be useful to be able to manipulate a queue file using a custom command. I was just wondering about this the other day. I see I can use cli switches to automate queue manipulation but I have yet to test have efficiently it can be done as I have not had the time.

I am wondering if the -raw cli switch can launch a custom command such as -raw="/mycmd" so one could do for example...

flashfxp.exe "SITE1" -pass="" -lock -quit -queue="queuefile" -savequeue -raw="/updatequeuefile"

or with the potential load/save queue commands...

flashfxp.exe "SITE1" -pass="" -lock -quit -raw="/updatequeuefileX"

I know I am going OT here but I was also wondering if their were any plans to extend the -id cli switch, such as allowing -raw actions to be appended if the ID session is still active. For example if multiple external sources launch flashfxp via cli to perform simple raw commands they don't need to spawn new sessions if there is say a session with id "RAWCMS" already open...

flashfxp.exe -id="RAWCMDS" -pass="" -lock -quit -raw="somecmd"
flashfxp.exe -id="RAWCMDS" -pass="" -lock -quit -raw="somecmd2"
flashfxp.exe -id="RAWCMDS" -pass="" -lock -quit -raw="somecmdN"

If they are triggered to run at different times or events then currently you have to spawn and close sessions each time. You could write a queue file and use the -id -queue support but it is not necessarily efficient or desirable to be writing/deleting temporary files.
DayCuts is offline