Whilst working on another time-lapse video recently I discovered it isn’t easy to transfer the images from my Raspberry Pi to my computer. For this particular time-lapse there were 786 images. In the past I’ve tried compiling the videos using the Pi but I found this process rather slow. I’ve also tried uploading the images to dropbox on the Pi but with 786 images this was taking a considerable amount of time.
I looked into mounting a USB but could not get it to transfer the files (permission problems) – I think I need to spend a bit more time on that.
Whilst searching the internet for different ways to transfer files from the Pi directly to a computer I discovered FileZilla, it’s a FREE FTP solution. My Pi was connected via WiFi on the same network as my MacBook and I already had SSH enabled on my Pi. I then followed the YouTube video tutorial below and it worked like a dream, all 786 images copied within minutes.
After speaking with my fellow students in IST 261, I realized that my attempts at using a browser-based command line (e.g. FireSSH) for conducting remote file transfer were futile. One of my peers suggested using FileZilla to enter my access credentials from the
remot3.it service. Success! With some tinkering, I was able to transfer a
.php file from my laptop to my computer on separate networks, and then view it on an
http protocol my mom’s tablet. I tested the functionality multiple times by having my parents suggest changes to be made to the website on the Pi, making those changes by copying the file from my local machine to the Pi, and then having my parents refresh the page to see the changes–all while the Pi sat quietly in the corner.
Raspberry Pi Filezilla Root
Connect To Raspberry Pi Filezilla
Download FileZilla Client 3.53.1 for Windows (64bit x86) The latest stable version of FileZilla Client is 3.53.1. Please select the file appropriate for your platform below. The default Raspberry Pi pi user should be okay. Update packages: sudo apt-get update; Create a new user, used only for FTP connections: sudo adduser ftp-user. Enter a password of your choice. Create a folder in /root. This is where the USB HDD will be permanently mounted. Sudo mkdir /usb-hdd-storage.
Raspberry Pi 3 Manual Pdf
When I first tried to have the FTP client copy the file to the remote server, a
write to permission denied error. I spent quite some time perusing Stack Overflow for articles like this which explained how to overcome the error. Essentially, my Pi directory was set to allow read-only (i.e. ‘R’ or ‘Read’ in ‘C.R.U.D.’) access via SSH, and prevented any update actions (i.e. ‘Create,’ ‘Read,’ ‘Delete’ in ‘C.R.U.D.’). The quick, dirty, and I imagine insecure way to change the permissions through the Linux command line in Pi was
chmod -R 777 /var/www/html with the last argument being the directory path to change permissions for and the
777 being the type of permission change. After I did this, every trasnfer I made to that directory location was successful. My Pi is now an operational web server!