curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: SMB: unable to upload file to a subfolder: remote file not found

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 May 2018 13:24:59 +0200 (CEST)

On Tue, 22 May 2018, Ivan Pilipenko wrote:

> - using curl and empty credentials, I can put files into root, but not into
> folders created by smbclient

> - using curl and valid credentials, I can't even log in: I am getting "login
> denied (67)"
>
> I am using the same credentials for smbclient and curl (the binary package
> of the OS, as well as libcurl + my implementation), so I expected them to at
> least behave the same.

I would have expected that as well. I'm not very familiar with the SMB
protocol so I'm not much of a help with this, but I would suggest that you
build a debug version of curl, sprinkle it with printf() outputs or similar
and start figuring out where it goes wrong...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-05-23