Hello everyone! I am new to this site and this is my first post.
I have an Arduino due with an Ethernet shield.
I wold like to upload periodically a text file (a log file) to a ftp server.
I've searched the internet without success.
Here (Arduino Playground - HomePage) I found code that seems to be right for me but I encountered a problem:
When I compile the code I get the following error messages :
Files.ino: In function 'void setup()':
Files:41: error: 'PSTR' was not declared in this scope
Files:47: error: 'PSTR' was not declared in this scope
Files.ino: In function 'void loop()':
Files:58: error: 'PSTR' was not declared in this scope
Files:59: error: 'PSTR' was not declared in this scope
Files.ino: In function 'byte doFTP()':
Files:82: error: 'PSTR' was not declared in this scope
Files:95: error: 'PSTR' was not declared in this scope
Files.ino: In function 'void efail()':
Files:256: error: 'PSTR' was not declared in this scope
Files.ino: In function 'void readSD()':
Files:278: error: 'PSTR' was not declared in this scope
Does anybody know the meaning of this error and how to fix it?
Thanks in advance
cheers
Italian version :
Un saluto a tutti; Sono un neofita e questo e' il mio primo post ...
Ho un Arduino due ed un Ethernet shield.
Vorrei avere la possibilita' di fare un upload periodico di un file testuale (contenente dei log) su un server ftp in rete.
Ho fatto delle ricerche e non ho trovato molto in merito.
Qui (Arduino Playground - HomePage) ho trovato il codice che sembra fare al caso mio, ma ho un problema.
Quando compilo ho i seguenti errori :
Files.ino: In function 'void setup()':
Files:41: error: 'PSTR' was not declared in this scope
Files:47: error: 'PSTR' was not declared in this scope
Files.ino: In function 'void loop()':
Files:58: error: 'PSTR' was not declared in this scope
Files:59: error: 'PSTR' was not declared in this scope
Files.ino: In function 'byte doFTP()':
Files:82: error: 'PSTR' was not declared in this scope
Files:95: error: 'PSTR' was not declared in this scope
Files.ino: In function 'void efail()':
Files:256: error: 'PSTR' was not declared in this scope
Files.ino: In function 'void readSD()':
Files:278: error: 'PSTR' was not declared in this scope
Mi sapete spiegare il significato di questo errore e come risolverlo?
Vi ringrazio in anticipo
Khufu