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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 05-13-2015, 09:31 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Well you could do something like this for upload

Instead of using the normal queue/transfer method you create a custom command and perform it instead.

(There is a bug in the current release that prevents this from working as intended)

You'll need this fix, just replace your existing flashfxp.exe with this one.

From the main menu > Commands and then from the Command dialog Add a New Command.

An example is shown below.
Code:
/require local
{
    /queue "%lp%f"
    /set @f@ %f
    /switch-activate
    {
        /enq /move "%rp@f@" "/data/storage/@f@"
    }
    /switch-activate
}
/switch-activate
/enq /clear cache /data/storage/
/switch-activate
/start
Make sure to replace /data/storage/ with the desired folder you want to move the uploads to.

This script will first check to see if the active browser is local, if not it will abort, queues the first selected file/folder in the local browser and then switch to the remote browser and enqueue a /move operation to move the folder from the target path to /data/storage/<name> switches back to the local browser and repeat until all selected items are queued, then it will switch one final time to remote and enqueue a clear cache on the /data/storage/ folder (just in case its cached) and finally /start will start transferring the queue.

You can omit the /start command or simply add a # in front to comment it out to see what the queue would look like first.

You can also assign this command to a shortcut such as (ctrl+shift+U) if you prefer to use the keyboard.
bigstar is offline  
 

Tags
files, flashfxp, ftp, move, upload, action, successful, file/dir


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 11:38 PM.

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