cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using ftpupload.c returns a directory listing in HTML format

From: Aaron Meriwether <me_at_ameriwether.com>
Date: Thu, 13 Aug 2015 12:00:12 -0600

> On Aug 13, 2015, at 7:36 AM, Nils Söderman <nils_at_meditalk.com> wrote:
> Thanks! As I use my archive w/o username/password (within my routerprotected firewall) with my Win7-OS I did not expect any problem with password protection. The share "backup" password entry is empty. BUT connecting from RPi results in the same error. I have been scrutinizing the setup of the NAS, I have read/write permission on the two places I can set it. It is clearly a NAS problem?? Thanks to Patrick and the verbose command it was found. I will dig deeper into the problem, but am happy for any hint!

You have mentioned that you are working with a Raspberry Pi and accessing a NAS that you also use from your Windows 7 computer. This makes me think your NAS probably also supports SMB/CIFS besides FTP. If you want to be able to append to a remote file on the NAS from your Raspberry Pi, you might consider mounting the NAS to the Pi via Linux' support for CIFS. This would allow you to do file-appends much more easily from your program, without worrying about the fiddly FTP stuff.

This is a tutorial on how to set that sort of thing up:
http://geeks.noeit.com/mount-an-smb-network-drive-on-raspberry-pi/

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-08-13