Go Back   FlashFXP Forums > >

Custom Commands Download, share, or get help creating your own.

Closed Thread
Thread Tools Display Modes
Old 10-03-2016, 06:02 AM   #1
Junior Member
FlashFXP Registered User
Join Date: Sep 2011
Posts: 3
Default custom command on inactive ftp window

Hi guys,

is it possible with custom commands to get something done in the inactive side of the window?

For example: im connected to two sites and i want by selecting folders on one site those to be created by the mkdir cmd on the other site.

any ideas?


[edit] ..ok i know its possible, so i'm currently fiddeling it out ;-)

Last edited by f.fehrenbach; 10-03-2016 at 06:49 AM.
f.fehrenbach is offline  
Old 10-03-2016, 11:03 AM   #2
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
bigstar's Avatar
Join Date: Oct 2001
Posts: 8,012

Give this a try, I tested it using FlashFXP and it appears to work as expected.

# DESCRIPTION: Create folders on opposite side from the current item selection on the active side.
# Display a simple [yes/No] confirmation prompt
/confirm "Create new folders on opposite side using the current selection?\n\n%f"
#This operation could take awhile so display a busy box until the operation has finished.
/busybox Creating folders
# loop for-each name that is selected in the active browser pane.
    # save %f into variable @f@
    /set @f@ %f
    # switch active browser pane to opposite side
    # make directory named @f@
    # if we had used %f then it would of taken the name from current active side which is wrong.
    /mkd @f@
    # switch back to the original side before grabbing the next name from %f
# switch back to opposite side so we can update the listing.
# now update the stale directory listing.
# one last switch to restore active focus back to the original browser pane.
bigstar is offline  
Old 10-03-2016, 02:46 PM   #3
Junior Member
FlashFXP Registered User
Join Date: Sep 2011
Posts: 3

..working like a charm, thank you!
f.fehrenbach is offline  
Closed Thread

custom, ftp, inactive, site, window

Thread Tools
Display Modes

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 10:47 AM.

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