Subject: curl: Bad message error if FTP-path does NOT exists
Package: curl
Version: 7.13.2-2
Severity: normal
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27ltspke9-nf2-v07a-sata-experimental
Locale: LANG=sk_SK.UTF-8, LC_CTYPE=sk_SK (charmap=ISO-8859-2)
Versions of packages curl depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared
libraries an
ii libcurl3 7.13.2-2 Multi-protocol file
transfer libra
ii libidn11 0.5.13-1.0 GNU libidn library,
implementation
ii libssl0.9.7 0.9.7e-3sarge1 SSL shared libraries
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
*************
Try this:
curl -T TEEEEEST -u name:pass
ftp://www.yourweb.sk/path-does-not-exists/blablabla/
and you will get:
curl: (9) Uploaded unaligned file size (0 out of 4 bytes)
2nd problem is that man message (man curl) is better, but will NOT give
you exact idea what happened.
9 FTP access denied. The server denied login.
I suggest it should report something like
DIR doesn't exits, or
Are you sure you haven't typo, komrade? :)
Thanks much for curl & maintainig package!
--
Jan Kunder
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]