Opened 8 years ago

Closed 3 years ago

#8179 closed Patch (outdated)

Multiple "--site" command line parameters

Reported by: Michele Locati Owned by: rajesh
Priority: normal Component: FileZilla Client
Keywords: --site command line parameter Cc: michele@…
Component version: Operating system type:
Operating system version:

Description

Currently, if you specify multiple "--site" command line parameters, FileZilla opens only the last one.

It would be great if FileZilla could support multiple "--site", opening a new tab for each one.

Thank you

Michele

Attachments (1)

multiple_site_patch (4.9 KB ) - added by rajesh 8 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 by Michele Locati, 8 years ago

Cc: michele@… added

comment:2 by rajesh, 8 years ago

Owner: set to rajesh
Status: newaccepted

Hey I wish to work on this project. Can some one help please.

comment:3 by rajesh, 8 years ago

Can I do it in below mentioned way??

instead of "--site0site1" "--site0site2" user can pass the arguments like "--site0site1,0site2" and then FZ will open two connections in two different tabs.

by rajesh, 8 years ago

Attachment: multiple_site_patch added

comment:4 by rajesh, 8 years ago

Type: Feature requestPatch

I have attached the patch.
Now we can pass multiple sites name through command line parameter.

--site"0siteName1,0siteName2" will open two tabs with two different connections in them one with "siteName1" information and the other with "siteName2" information.

comment:5 by Alexander Schuch, 8 years ago

Just a short question. What do I do if the site I want to connect to is called "localhost,0" and "localhost,1" in my site manager?

comment:6 by rajesh, 8 years ago

so should the delimiter be changed or do i need to go for some other approach??

comment:7 by Alexander Schuch, 8 years ago

FileZilla accepts all characters as site name, so the only proper way is to use multiple parameters. '--site=server,1 --site=server,2' will open two sites. If a site name has a space in it, simply use the grouping mechanism of the shell: '--site=server,1 "--site=server with space"'.

So in short, simply use multiple "--site" parameters.

comment:8 by Tim Kosse, 8 years ago

Status: acceptedmoreinfo_accepted

Unfortunately the isn't suitable. As ci-dev noted, the comma is a valid character for site names and thus cannot be used as separator. Multiple site arguments are indeed the correct solutions. Please update your patch.

One additional remark: Please use 'svn diff' to create the patch against SVN trunk.

comment:9 by ender21, 8 years ago

Status: moreinfo_acceptedaccepted

Has this ever been updated? My use case could really benefit from this feature as well. Thanks!

comment:10 by ender21, 8 years ago

Status: acceptedmoreinfo_accepted

comment:11 by Kurt McKee, 3 years ago

Resolution: outdated
Status: moreinfo_acceptedclosed
Note: See TracTickets for help on using tickets.