Hello, I am trying to transfer ino files from my windows system to the raspberry pi 4b.
I have a user directory on the raspberry pi 4b and can ftp into it.
The files are saved in /home/user/ftp/files but when I run arduino on the raspberry pi and try to open the files, it can't see them.
I checked that the files are there and the owner and group are correct with permissions set at 644.
The Arduino sketch program file location is set to /home/user/arduino.
What would be the best solution to allow this to work?
Welcome to the forum
Move the files to /home/user/arduino
Hello UKHeliBob,
Thanks for your reply. I copied them to /home/user/arduino but it still does not work.
Any other suggestions?
Hi @xmanhattan. Please tell us how you installed Arduino IDE on your Raspberry Pi. Did you install it via a package manager (e.g., APT, Flatpak, Snap)? Or did you install it from the download on the "Software" page of the Arduino website? Or did you get it from some other source?
When you say "open the files", do you mean you selected File > Open from the Arduino IDE menus?
How and where did you set this location ?
Note that each .ino file will need to be in a separate directory of the same name, so if you have just moved the FILES, the IDE may be confused. FTP can be poor at preserving directory structures.
The easiest way is probably to ZIP your Documents/Arduino directory on the windows system, FTP the .zip file, and then unzip it on your RPi.
Hello ptillisch,
I installed the Arduino IDE using apt.
I tried opening the files through the Arduino IDE menu but it doesn't see them.
Hello UKHeliBob,
I set the location /home/user/arduino through the Arduino IDE menu preferences.
Hello westfw,
I was wondering why the ino files are created in a directory. I did copy the file without the directory. I agree with you regarding FTP and will have to try and tweak that some how like using linux.
Thanks for the tip regarding zip.
All in all, this is basically my beginning to experiment with a raspberry pi 4b and an Arduino uno r3.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.