Opened 10 years ago

Closed 6 years ago

Last modified 5 years ago

#4292 closed Patch (fixed)

command line: local directory

Reported by: wr2 Owned by: Barry Ralphs
Priority: normal Component: FileZilla Client
Keywords: command line local site Cc: barry.ralphs@…
Component version: Operating system type:
Operating system version:

Description

When FileZilla client starts, it takes initial local directory from parameter "Last local directory" in filezilla.xml file. Remote path could be set by means of command line options.

It would be great if you could include command line option to also set initial local directory.

This is usefull in case of starting FileZilla from filemanager when user is already in desired local directory. Now, it's necessary to go to this directory in FileZilla again instead of just pass it to FileZilla as a command line parameter.

Attachments (2)

4292.diff (2.4 KB) - added by Barry Ralphs 6 years ago.
New command line option for local site --local=C:\temp
4292a.diff (3.1 KB) - added by Barry Ralphs 6 years ago.
Patch with description of the command-line arguments in docs/filezilla.man

Download all attachments as: .zip

Change History (15)

comment:1 Changed 9 years ago by Art

Priority: normalhigh

It would be great! Please do It feature.
I suppose implementation of it isn't difficult and don't requires much testing.
Using with file managers increases FileZilla's stock

comment:2 Changed 9 years ago by Art

Keywords: local site added

comment:3 Changed 9 years ago by Tim Kosse

Priority: highnormal

comment:4 Changed 9 years ago by Art

Priority: normalhigh

comment:5 Changed 6 years ago by Alexander Schuch

Priority: highlow

comment:6 Changed 6 years ago by Barry Ralphs

I too would like this feature.

comment:7 Changed 6 years ago by Art

Priority: lowhigh

comment:8 Changed 6 years ago by Alexander Schuch

Priority: highnormal

If you do not provide a patch yourself, changing the priority of this item won't do anything.

comment:9 Changed 6 years ago by Barry Ralphs

Cc: barry.ralphs@… added
Owner: set to Barry Ralphs
Status: newaccepted

I would like to attempt to submit this patch, but since it's my first, I'm sure it might take awhile...

Changed 6 years ago by Barry Ralphs

Attachment: 4292.diff added

New command line option for local site --local=C:\temp

comment:10 Changed 6 years ago by Barry Ralphs

Type: Feature requestPatch

comment:11 Changed 6 years ago by Tim Kosse

Status: acceptedmoreinfo_accepted

Patch looks fine, there's a minor thing missing though: The description of the command-line arguments in docs/filezilla.man, please update your patch.

Changed 6 years ago by Barry Ralphs

Attachment: 4292a.diff added

Patch with description of the command-line arguments in docs/filezilla.man

comment:12 Changed 6 years ago by Barry Ralphs

Status: moreinfo_acceptedaccepted

OK I attached the revised patch, but I was a little confused with the syntax in the .man file.
For example it has:
\-c <site>, \-\-site <site>
But should it be:
\-c=<site>, \-\-site=<site>

comment:13 Changed 6 years ago by Tim Kosse

Resolution: fixed
Status: acceptedclosed

Thanks, applied. I've moved processing of the local argument to before processing the site argument, that way they can be used in combination, with the site taking precedence if it also defines a local directory.

Note: See TracTickets for help on using tickets.