the debugger returns this error at line:
          curl_easy_setopt(curl2, CURLOPT_URL,"ftp://example.com/";);I'll ask 
back the server stuff.


      From: Daniel Stenberg <[email protected]>
 To: libcurl development <[email protected]> 
 Sent: Tuesday, March 21, 2017 10:00 AM
 Subject: Re: CURLE_URL_MALFORMAT
   
On Tue, 21 Mar 2017, Michael wrote:

(please stop the top-posting, it is hard to follow)

> I've tried with the code below but still CURLE_URL_MALFORMAT

That seems very strange. Neither the user name nor the URL are particularly 
strange nor unusual and I can't think of any change we've ever done to curl 
that would make them not work. I would say that combination has been working 
for over 15 years.

What libcurl version are you using?

> ftp login works from terminal.So where could be the problem?

You mess up the string in your code somehow?

> I've asked the server stuff and they don't see any problem with their 
> server.

There's usually no server involved in CURLE_URL_MALFORMAT. That's libcurl not 
liking something in the URL you pass to it,

I think you should consider single-stepping through libcurl with a debugger a 
bit and figure out what it finds questionable in your URL.

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

   
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to