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 05-13-2011, 02:28 PM   #1
BobLhome
Junior Member
FlashFXP Registered User
 
Join Date: Sep 2006
Posts: 12
Default Command Line On Transfer complete

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.
BobLhome is offline  
Old 05-13-2011, 04:39 PM   #2
Linkster
Moderator
Administrator
 
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
Default

the queue is auto-saved by default every minute. This should be sufficient for reboot/crash situations.
Linkster is offline  
Old 05-13-2011, 06:26 PM   #3
BobLhome
Junior Member
FlashFXP Registered User
 
Join Date: Sep 2006
Posts: 12
Default

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 ?
BobLhome is offline  
Old 05-13-2011, 08:43 PM   #4
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

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.
bigstar is offline  
Old 05-14-2011, 11:19 AM   #5
BobLhome
Junior Member
FlashFXP Registered User
 
Join Date: Sep 2006
Posts: 12
Default

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..
BobLhome is offline  
Old 05-14-2011, 01:33 PM   #6
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

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.
bigstar is offline  
Closed Thread

Tags
command, connection, flashfxp, lost, queue

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


All times are GMT -5. The time now is 06:52 AM.

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