Description of problem: Version-Release number of selected component (if applicable): ftp-0.17-51.fc12.i686 How reproducible: Steps to Reproduce: 1. Touch the file ' test' and write something in it. $ touch ' test' $ echo "This is example text." > ' test' $ ls -hl ~/\ test -rw-rw-r-- 1 gav gav 14 2010-02-25 12:54 /home/gav/ test 2. Login to ftp server. $ ftp ftp.example.org ... Remote system type is UNIX. Using binary mode to transfer files. 3. Go to writeable directory. ftp> cd /public/tmp 250 CWD command successful 4. Try to put file ' test' to server. ftp> put "/home/gav/\ test" local: /home/gav/\ test remote: /home/gav/\ test local: /home/gav/\ test: No such file or directory ftp> put "/home/gav/ test" local: /home/gav/ test remote: /home/gav/ test 227 Entering Passive Mode (xxx,xxx,xxx,xxx,189,198). 550 /home/gav/ test: No such file or directory 5. Try to get file from server (I uploaded it with gnome-vfs-ftp). ftp> ls 227 Entering Passive Mode (xxx,xxx,xxx,xxx,199,37). 150 Opening ASCII mode data connection for file list -rw-r--r-- 1 (?) (?) 4 Feb 25 09:33 test 226 Transfer complete ftp> get " test" local: test remote: test 227 Entering Passive Mode (xxx,xxx,xxx,xxx,133,36). 150 Opening BINARY mode data connection for test (4 bytes) 226 Transfer complete 4 bytes received in 0.000204 secs (19.61 Kbytes/sec) Actual results: We are can get files starting with space, but can not put them.
I did mistake with writing put command. Correct string this: ftp> put "/home/gav/ test" " test" local: /home/gav/ test remote: test 227 Entering Passive Mode (xxx,xxx,xxx,xxx,xxx,219). 150 Opening BINARY mode data connection for test 226 Transfer complete 4 bytes sent in 5.2e-05 secs (76.92 Kbytes/sec) So, always is ok. Sorry.