Opened 15 years ago

Closed 11 years ago

Last modified 10 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 11 years ago.
New command line option for local site --local=C:\temp
4292a.diff (3.1 KB ) - added by Barry Ralphs 11 years ago.
Patch with description of the command-line arguments in docs/filezilla.man

Download all attachments as: .zip

Change History (15)

comment:1 by Art, 14 years ago

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 by Art, 14 years ago

Keywords: local site added

comment:3 by Tim Kosse, 14 years ago

Priority: highnormal

comment:4 by Art, 14 years ago

Priority: normalhigh

comment:5 by Alexander Schuch, 11 years ago

Priority: highlow

comment:6 by Barry Ralphs, 11 years ago

I too would like this feature.

comment:7 by Art, 11 years ago

Priority: lowhigh

comment:8 by Alexander Schuch, 11 years ago

Priority: highnormal

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

comment:9 by Barry Ralphs, 11 years ago

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...

by Barry Ralphs, 11 years ago

Attachment: 4292.diff added

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

comment:10 by Barry Ralphs, 11 years ago

Type: Feature requestPatch

comment:11 by Tim Kosse, 11 years ago

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.

by Barry Ralphs, 11 years ago

Attachment: 4292a.diff added

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

comment:12 by Barry Ralphs, 11 years ago

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

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.