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-2015, 09:31 PM   #1
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  
Old 05-14-2015, 01:24 AM   #2
andreas
Senior Member
FlashFXP Beta Tester
 
Join Date: Jul 2002
Posts: 484
Default

1) Instead of defining a specific path, can I assign a relative path.
For example: I want everything to move inside a folder OK where the file is initially located


2) I think there is an issue here:
I downloaded the new version.
I don't know why but I cant save a new command

I press the "NewCommand" button > "Upload-Move"
I copy paste the text to the Command field
I assign the "Ctrl+Shift+U" shortcut key.
Apply
OK

When I enter again the menu no command exists.
Keep in mind that is the first command I create/add
andreas is offline  
Closed Thread

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

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 09:50 PM.

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