Sponsors:
Haxx
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: Extra CWD in curl_easy on Windows
Hi,
It looks you set the CURLOPT_FTPLISTONLY twice, the first one with FALSE the
second one with TRUE. I guess the URL you are testing is something like
ftp://xx.xx.xx.xx/ so cURL tries to read a list of files in the root folder
Dobromir Velev
On Monday 16 November 2009 16:20, Dave Galloway wrote:
> Forgot to mention that we are using the curl_easy interface.
> I am carving out the curl_easy calls from the code now, there seem to be a
> lot of them, and will post them soon.
>
>
>
> -----Original Message-----
> From: curl-library-bounces_at_cool.haxx.se
> [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
> Sent: Friday, November 13, 2009 2:14 PM
> To: libcurl development
> Subject: Re: Extra CWD in curl_easy on Windows
>
> On Fri, 13 Nov 2009, Dave Galloway wrote:
> > < 220 Microsoft FTP Service
> >
> >> USER zzzz
> >
> > < 331 Password required for zzzz.
> >
> >> PASS aaaaaaa
> >
> > < 230 User zzzz logged in.
> >
> >> PWD
> >
> > < 257 "/zzzz" is current directory.
> > * Entry path is '/zzzz'
> >
> >> CWD / <--------------------- This is new
> >
> > < 250 CWD command successful.
> > * Remembering we are in dir "/"
> > * Connection #0 to host xx.xxx.xx.xx left intact
>
> That looks very strange. What URL and what QUOTE options have you used to
> make it do this? Or put another way: how can we repeat this sequence of
> commands in our ends?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-17
These mail archives are generated by hypermail.
|