Opened 20 years ago
Last modified 20 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.)
Note:
See TracTickets
for help on using tickets.
Thanks, your patch has been applied.
A fixed version will be available in the next few days.