View Full Version : Command Line On Transfer complete
BobLhome
05-13-2011, 02:28 PM
Using 4.1.0 build 1574
Is there any contingency for
[R] Connection Lost
Through command line I tried
flashfxp -c2 site -savequeue="queuename"
but this only seem to work for queue completion not a "connection lost"
Is there a way to on connection lost
Save queue and Quit flashfxp
This way if a reboot or lockup of the system, the current state of the Queue wouldn't be lost.
Linkster
05-13-2011, 04:39 PM
the queue is auto-saved by default every minute. This should be sufficient for reboot/crash situations.
BobLhome
05-13-2011, 06:26 PM
Nope, after connection lost. I check the folder where the queue was saved and date did not changed.
also
After running
flashfxp -c2 site -savequeue="queuename"
This only seem to work for queue completion not a "connection lost"
Is there a way, on "[R] Connection lost" for flashfxp to:
Save queue and Quit flashfxp ?
bigstar
05-13-2011, 08:43 PM
As stated in the help file the -savequeue switch saves the queue on exit, also the -c switch determines the action to be performed once the queue is completed.
There is currently no way for FlashFXP to do this.
BobLhome
05-14-2011, 11:19 AM
Would this be a feature the Dev team could or want to add?
My thinking is if one is trying automate a queued list. Then to restart the transfer through automation the current running flashfxp should be closed and before that the queue should be saved. Especially when the connection was close for whatever reason.
Btw Thanks bigstar for your help..
bigstar
05-14-2011, 01:33 PM
The way this works is quite complicated and its not a simple procedure to deal with.
When the connection is lost the connection retry count is applied, and FlashFXP will attempt to retry the connection until the limit is reached, once this limit is reached the On Transfer Complete rule is triggered (or at least its supposed to, I conducted some tests and this appears to be broken with scheduled tasks and command line transfers, I will fix it for the next release)
There is also a retry transfer option with a max number of retries and this is also evaluated along with the connection retry depending on the reason for failure.
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.