cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to handle non-ASCII characters in URLs

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 9 Jan 2009 12:26:34 -0800

On Fri, Jan 09, 2009 at 08:12:58PM +0000, G. T. Stresen-Reuter wrote:
> Ok, I increased logging on the server and can see that the filename is
> being transferred correctly (or what appears to be correctly to me). The
> following logs show:
>
> 1. Transferring both test files to the server via CyberDuck
> 2. Deleting test.txt via my bash script and curl
> 3. Failing to delete espaņa.txt via my bash script and curl
>
> [09/Jan/2009:20:10:08 +0000] STOR test.txt 226 - STOR test.txt
> [09/Jan/2009:20:10:11 +0000] STOR espaņa.txt 226 - STOR espaņa.txt
> [09/Jan/2009:20:10:31 +0000] RETR httpdocs/samples/test.txt 226 - RETR
> httpdocs/samples/test.txt
> [09/Jan/2009:20:10:32 +0000] DELE /httpdocs/samples/test.txt 250 - DELE
> /httpdocs/samples/test.txt
> [09/Jan/2009:20:10:38 +0000] RETR httpdocs/samples/espaņa.txt 550 - RETR
> httpdocs/samples/espaņa.txt
>
> What in the world am I doing wrong and what additional logging can I
> enable to figure it out???

You're showing accesses to three potentially different directories in that
log. Try first getting an operation working on an ASCII file then switch to
an i18n file. Maybe the use of --ftp-method is confusing the server, too.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-09