Old 09-10-2008, 04:22 PM   #1
Mike_Smith
Junior Member
 
Join Date: Aug 2008
Posts: 13
Default Feature Request: Mulitple command paste

Hi,

1> Would it be possible to add a dialog where we can add say 10 commands to be queued? It's a mission to add them 1 by one because sometimes there are bulk commands to be performed.

So maybe have an option:
Enqueue > Bulk Raw Command

that pops up a text dialog box where we can paste 40 jobs at a time etc...



2> Would it be possible to extend the command length in the command bar? Currently I use wget from there and i have some commands that go way beyond the character limit, which means i need to putty to my box and run the command from there.

eg

wget http://myserver/sql/backups/database1.rar http://myserver/sql/backups/database2.rar http://myserver/sql/backups/database3.rar http://myserver/sql/backups/database4.rar http://myserver/sql/backups/database5.rar http://myserver/sql/backups/database6.rar http://myserver/sql/backups/database7.rar http://myserver/sql/backups/database8.rar

This works in putty from the box.

When I paste the above into the site command bar because that bar limits it to only a few characters:

wget http://myserver/sql/backups/database1.rar http://myserver/sql/backups/database2.rar http://myserver/sql/backups/database3.rar http://myserver/sql/backups/database4.rar http://myserver/sql/backups/database5.rar http://myserver/sql/backups/databas


Kind Regards,
Mike

Last edited by Mike_Smith; 09-10-2008 at 04:27 PM.
Mike_Smith is offline  
Old 09-10-2008, 10:12 PM   #2
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

i think bigstar implemented raw command limit to prevent server exploits. some people would send excessively long commands that would crash/abuse ftp servers.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 09-11-2008, 12:05 AM   #3
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

MxxCon is correct.

However at the time there was really no reason to justify allowing for long commands. I think your situation is the first time I've seen a real good reason to allow longer commands.

There's an option in the preferences > options > "interpret ; as raw command delimiter"
When this option is checked the ; character can be used to separate multiple commands for a single raw command entry.

such as, "SITE cmd1; SITE cmd2; SITE cmd3"


Since we have a raw command history it would be hard to support true multi-line commands.
bigstar is offline  
Old 09-11-2008, 03:30 AM   #4
Mike_Smith
Junior Member
 
Join Date: Aug 2008
Posts: 13
Default

Hi Bigstar,

Thanks for the reply. The delimited solves the initial issue of multiple commands how each there is still a limit of 250 characters in the Raw Command dialog box so even if you have the ; in the commands it wont paste the complete set.



Is there any way to allow more characters in the command bar?

Thanks in advanced
-Mike
Mike_Smith is offline  
Old 09-11-2008, 12:13 PM   #5
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I am working on a new beta release which will be available to registered users shortly that will either increase the limit or remove it. I need to do lots of testing before I decide on which route I take.
bigstar is offline  
Old 09-11-2008, 01:02 PM   #6
Mike_Smith
Junior Member
 
Join Date: Aug 2008
Posts: 13
Default

Thats great news bigstar I will be waiting with batted breathe
Mike_Smith is offline  
Old 09-14-2008, 09:29 PM   #7
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

A new beta build 1286 is available via liveupdate that removes the length limit.
bigstar is offline  
Old 09-16-2008, 12:42 AM   #8
Mike_Smith
Junior Member
 
Join Date: Aug 2008
Posts: 13
Default

Awesome bigstar Thanks alot for your continued great work!
Mike_Smith is offline  
Old 09-16-2008, 01:29 AM   #9
Mike_Smith
Junior Member
 
Join Date: Aug 2008
Posts: 13
Default

Thanks for the new updates bigstar. Although I just noticed that if you enqueue a raw command there is no limit but in the command bar under "View > Show Raw Command Line" still has the limit of 250 characters. In the next update please could you remove it from there aswell because sometimes there is no other command running and I can send it through immediately, so no need to queue it!

Thanks again for the work done
Mike_Smith is offline  
Old 09-16-2008, 02:32 PM   #10
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Sorry I forgot to remove the limit from this input box, I'll fix it up in the next build.
bigstar is offline  
Old 09-17-2008, 04:25 AM   #11
Mike_Smith
Junior Member
 
Join Date: Aug 2008
Posts: 13
Default

Thanks bigstar
Mike_Smith is offline  
Old 09-17-2008, 08:52 PM   #12
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

perhaps you should buy flashfxp now?
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 09-24-2008, 03:00 AM   #13
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

A new build has been posted to beta testers that removes this limit. I was going to give you access to the beta area but your account doesn't have your license key properly assigned. Perhaps you purchased FlashFXP under a different account then the one you use for posting on the forums?
bigstar is offline  
Closed Thread

Tags
add, command, commands, paste, wget

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 06:06 PM.

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