Opened 15 years ago

Last modified 15 years ago

#1473 closed Patch

Improve commandline hints

Reported by: elsapo Owned by:
Priority: normal Component: Other
Keywords: Cc: elsapo, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

http://filezilla.sourceforge.net/cmdline.htm

Underneath:

-u <sourcefile> <targetdir>

Add this:

Note that sourcefile must contain at least one backslash

This is due to the parsing code in MainFrm.cpp, circa
line 2449 (in current CVS) in method
CMainFrame::OnProcessCmdLine:

int pos=localfile.ReverseFind('
');

if (pos==-1
!pos

pos==(localfile.GetLength()-1))

AfxMessageBox(IDS_ERRORMSG_CANTPARSECMDLINE);

(This is really not intuitive, and I had to debug the
code to figure out why it was telling me that it could
not parse the commandline.)

Change History (1)

comment:1 Changed 15 years ago by Tim Kosse

Thanks, your patch has been applied.

A fixed version will be available in the next few days.

Note: See TracTickets for help on using tickets.