This will upload the file at 2 each morning. However it doesn't run all that smooth on a Raspberry Pi, expect 3~5 second page loads with already optimised PHP. Plug the SD card into the server Raspberry Pi, and then boot the server. and save it, for the sake of the example, as /home/pi/ftpscript. Or look around on github for a "webdisk" project that suits your needs the most.Īs stated in another answer here, owncloud is also a possible contender. All I need to figure out now is how to upload the text file to my SSH / SFTP enabled web space from the command line on my Raspberry Pi with Raspbian OS. Since it appears you want some kind of web interface, maybe have a look at this project like you suggested in your link: Ī quick google found me this guide for the installation: hi everyone, i am making project to read the temperature, pressure using AVR chip, and transferred to Raspberry pi, i have already successfully generate txt File on my raspi folder, and next step this txt file will be uploaded into my ftp server in different network on (need username and password to access this ftp server). Otherwise, you may want to give this a read as an alternative: I'm not very familiar with WP, but it's pretty customizable from what I have heard, given that you know some php etc. The vsftpd package is available from the official Raspberry Pi OS repositories, so it can be installed with the following commands: sudo apt update. From a web browser, visit the Raspberry Pi’s IP address following by /owncloud, e.g. On the other hand you could just make your Wordpress site host files. You do not have any rights for example in the /var/Login as user 'pi' (and change to user 'root' with 'sudo su'). Once that’s all done, it’s time to reboot your Raspberry Pi for the changes to take effect: sudo reboot. To set up an FTP, here you'll find a guide: You will have to elaborate further what it is that you want exactly. If youve enabled SSH (easily done with raspi-config ), then you ought to be able to use SFTP. Unless you want to share files through your Wordpress site. I think by far the easiest way to share files is to set up an FTP server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |