Go Back   FlashFXP Forums > >

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

Closed Thread
 
Thread Tools Display Modes
Old 07-30-2016, 07:35 PM   #1
mitch
Junior Member
FlashFXP Registered User
 
Join Date: Jan 2006
Posts: 19
Default Possible to send SSH Commands ?

Hello, maybe i just dont know if this can be done and need to be educated but im wondering if its possible to send SSH commands via FlashFXP.

For example... i send across a ZIP file....then be able to right click on file or use a custom command to unzip that file easily.

Reason being i dont want to have to send an unextracted zip with many files as it takes too long, i also dont want to jump into SSH if i dont have to.

Many thanks.
mitch is offline  
Old 07-31-2016, 01:10 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Yes absolutely.

You can send shell commands via raw commands (Ctrl+R) or you can toggle the RAW Command Line (Main menu > View > RAW command line) and access it directly via the main window.

By default FlashFXP will accept any non-defined command as a SSH command (with a warning prompt) but you can also prefix the commands with /shell

You can also create custom commands so that the command can be executed with a shortcut key or without having to type it in each time.

For example you can use something like this

Extract tar archive
Code:
/shell tar xzfv %f
When the command executes the %f token is replaced with the name of the selected item in the file list.

If you have multiple items selected then the entire command will execute for each item selected.

Additional information and more examples can be found in our help file and in this forum.
bigstar is offline  
Old 07-31-2016, 05:57 PM   #3
mitch
Junior Member
FlashFXP Registered User
 
Join Date: Jan 2006
Posts: 19
Default

Holy Shit, this is great and game changer for me... being able to right click and extract archives is going to speed up my workflow IMMENSLY.... no more having to upload 20,000 files that takes 20 minutes, now i can upload 1 archive file... 4 minutes, right click extract

You ROCK!
mitch is offline  
Old 08-02-2016, 03:53 AM   #4
mitch
Junior Member
FlashFXP Registered User
 
Join Date: Jan 2006
Posts: 19
Default

Hi BigStar,

I attempted to give it a go and im getting some errors here is a screenshot.... maybe im doing something wrong ?

http://screenshots.menkom.com.au/201...2_18_52_49.jpg
mitch is offline  
Old 08-02-2016, 06:48 AM   #5
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

In order to send SSH commands you need to connect to the server using a Connection type of SFTP over SSH.

When I wrote my reply I had assumed that you were using SFTP and not FTP, I apologize for jumping to that conclusion.
bigstar is offline  
Closed Thread

Tags
file, flashfxp, send, ssh, zip

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 01:36 PM.

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