Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: FTP with CURLOPT_NOBODY different behavior whenperformingonnon-existing files #5953
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Lukas Friembichler via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 18 Dec 2020 14:07:14 +0100
Thank you all for your replies.
I could not reply to Daniel's mail because it seems he replied directly
to me (the 'reply-to' was not set to the curl-library address) so rather
than messing things up I thought I'd reply to the previous mail..
Trailing slashes notwithstanding, the problem persisted for me.. but
then I took another good luck at my code and realized that I did not set
the CURLOPT_UPLOAD option to 0 when doing the request performing my
QUOTE action (renaming the folder containing the uploaded files). Once I
did that the SIZE command was no longer executed and all is well again.
So I guess that was simply a latent bug in my code brought to the fore,
so all is good, thank you!
Lukas
On 15.12.2020 19:13, Tomalak Geret'kal via curl-library wrote:
> On 15/12/2020 17:51, Lukas Friembichler via curl-library wrote:
>> Thanks for your reply
>>
>>> Why can't your FTP server report the size of that file?
>>> It does
>>> exist.
>>
>> I was under the impression that this simply didn't work
>> for directories
>> (like I said I'm not a FTP expert), so I thought that was
>> a 'feature'..
>
> Ah - it's a directory! I missed that.
>
>
>>
>> To be honest I'm not even sure why the SIZE command is
>> issued at all (I'm not interested in that..)
>
> Given the above, perhaps this is the real bug.
>
> Cheers
>
>
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.se/mail/etiquette.html
>
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2020-12-18
Date: Fri, 18 Dec 2020 14:07:14 +0100
Thank you all for your replies.
I could not reply to Daniel's mail because it seems he replied directly
to me (the 'reply-to' was not set to the curl-library address) so rather
than messing things up I thought I'd reply to the previous mail..
Trailing slashes notwithstanding, the problem persisted for me.. but
then I took another good luck at my code and realized that I did not set
the CURLOPT_UPLOAD option to 0 when doing the request performing my
QUOTE action (renaming the folder containing the uploaded files). Once I
did that the SIZE command was no longer executed and all is well again.
So I guess that was simply a latent bug in my code brought to the fore,
so all is good, thank you!
Lukas
On 15.12.2020 19:13, Tomalak Geret'kal via curl-library wrote:
> On 15/12/2020 17:51, Lukas Friembichler via curl-library wrote:
>> Thanks for your reply
>>
>>> Why can't your FTP server report the size of that file?
>>> It does
>>> exist.
>>
>> I was under the impression that this simply didn't work
>> for directories
>> (like I said I'm not a FTP expert), so I thought that was
>> a 'feature'..
>
> Ah - it's a directory! I missed that.
>
>
>>
>> To be honest I'm not even sure why the SIZE command is
>> issued at all (I'm not interested in that..)
>
> Given the above, perhaps this is the real bug.
>
> Cheers
>
>
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.se/mail/etiquette.html
>
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2020-12-18