Opened 7 years ago

Closed 2 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 7 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 7 years ago by Michele Locati

Cc: michele@… added

comment:2 Changed 7 years ago by rajesh

Owner: set to rajesh
Status: newaccepted

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

comment:3 Changed 7 years ago by rajesh

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.

Changed 7 years ago by rajesh

Attachment: multiple_site_patch added

comment:4 Changed 7 years ago by rajesh

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 Changed 7 years ago by Alexander Schuch

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 Changed 7 years ago by rajesh

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

comment:7 Changed 7 years ago by Alexander Schuch

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 Changed 7 years ago by Tim Kosse

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 Changed 7 years ago by ender21

Status: moreinfo_acceptedaccepted

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

comment:10 Changed 7 years ago by ender21

Status: acceptedmoreinfo_accepted

comment:11 Changed 2 years ago by Kurt McKee

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