Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322601 - net-ftp/atftp 0.7-r1 client fails for filenames containing spaces.
Summary: net-ftp/atftp 0.7-r1 client fails for filenames containing spaces.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tobias Klausmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 323883
  Show dependency tree
 
Reported: 2010-06-03 13:49 UTC by Grant Edwards
Modified: 2011-04-04 09:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to correctly handle filenames containing spaces when passed on command-line (atftp-0.7-spacesInFilenames.patch,2.34 KB, patch)
2010-06-03 16:24 UTC, Grant Edwards
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Edwards 2010-06-03 13:49:35 UTC
Filenames containing spaces are incorrectly rejected and a usage
message is printed.  And the usage message is also incorrect (the
usage message is for the "interactive" mode, and is wront for
command-line usage).


Reproducible: Always

Steps to Reproduce:
$ atftp -g -l /dev/null -r 'foo bar' 10.0.0.99
Usage: get remote_file [local_file]
Comment 1 Grant Edwards 2010-06-03 16:24:07 UTC
Created attachment 233995 [details, diff]
Patch to correctly handle filenames containing spaces when passed on command-line

This patch fixes the problem for filenames passed on the command line.

It doesn't fix the problem for filenames entered in interactive
mode. In interactive mode the design flaw is a bit more fundamental
and would require replacing the argz lib with something else.
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2011-04-04 09:12:59 UTC
The fix has been integrated into net-ftp/atftp-0.7-r2