Hi everyone! good evening!
I found this FTP Code from this Forum and I found it very interesting.
http://playground.arduino.cc/Code/FTP
So, i tried several situations.
I wanted to send multiple files consecutively.
But I have no clues which code i have to add.
How can i change this code to transfer files consecutively.
SurferTim who made this code said "You can send multiple files using that code, just one at a time. Change the fileName variable to the next file and call doFTP again."
but, i could not understand his words.
if you guys have any advice or comments, please give teach me!!
Any advice would be appreciated.
PS. I adapted this code for WiFi shield.
sketch_jun21a.ino (6.94 KB)
Change the fileName variable to the next file and call doFTP again."
but, i could not understand his words.
What part of that don't you understand? The variable, fileName, contains the name of the file to send. Surely you can see that you need to change it to send a different file.
The doFTP() function performs the send. Surely you can see that you need to call the function more than once to send more than one file.
@PaulS
Not all people are as knowledgeable as you about programming. When English is not their native tongue, they might have an extra handicap to understand advices, even or maybe especially when they sound so obvious for you.
@Dongmin,
If you are learning to work with Arduino you need to spent some time learning how the C++ language works. There are many examples on the tutorial section including ones that work with filenames. You do not give information what levels your programming skills are. So maybe you need also help on that level too,.
Can you give more information about the project you are doing?