Package: gftp
Version: 2.0.18-16
Followup-For: Bug #388408
The main problem is that gftp does not handle escape sequences.
In your example, you forget a first space:
ftp> cd space first dir
CWD space first dir
550 Can't change directory to space first dir: No such file or directory
You only need to add an extra space after cd..
Here an example:
ftp> mkdir \ space\ first\ dir
MKD \ space\ first\ dir
257 "\ space\ first\ dir" directory created.
shell> cd '\ wpace\ first\ dir'
is valid.
So just insert spaces to create directories with space:
ftp> mkdir 4spaces
MKD 4spaces
257 " 4spaces" directory created.
ftp> cd 4spaces
CWD 4spaces
250 CWD command successful.
shell> ls \ \ \ \ 4spaces
Strings are processed through gftp_string_from_utf8.
in gftp_string_from_utf8 (protocol.c). Glib provides the g_strcompress
function.
It could be nice to add some kind of option "support escape chars" in
the rc file.
Regards,
Matthieu
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (600, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.1-matt
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages gftp depends on:
ii gftp-gtk 2.0.18-16 X/GTK+ FTP client
ii gftp-text 2.0.18-16 colored FTP client using GLib
gftp recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]