curl-library
Re: Using ftpupload.c returns a directory listing in HTML format
Date: Thu, 13 Aug 2015 15:42:58 +0200
Den 2015-08-13 kl. 14:43, skrev Patrick Monnerat:
>
> Nils Söderman wrote:
>> So, is it wrong to change name of the file for transport up to the archive? Why, if so, is the program listing:
> The run does not even reach rename phase (which is legal). Obviously it fails at upload time because the ftp server has no permission to create a file in this directory (or to overwrite it if it already exists). Whether this is a global problem or a credential one depends on the server itself and maybe its configuration. Maybe your server would have accepted the upload if the credentials were set to a user/password allowed to write instead of "anonymous".
>
> < 550 ws_data2.txt: Permission denied
>
> is the verbose output line that exhibits the problem.
>
> To check out these kind of troubles, maybe you should simulate manually what your program does using a client program such as, in example, filezilla. It would have shown the permission problem too.
>
> Patrick
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
Yes, absolutely (as they say on BBC World News!) So I will introduce
username/password and see what happens. And yes, I will let interested
(if any) parties know the result.
Nils
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-08-13