-----Original Message----- From: Dobromir Velev [mailto:[email protected]] Sent: Tuesday, November 17, 2009 7:45 AM To: [email protected] Cc: Dave Galloway Subject: 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: [email protected] > [mailto:[email protected]] 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 > ------------------------------------------------------------------- The URL is edi.smithdrug.com. Thanks, Dave ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
