Simple FTP bash script for uploading images to WeatherUnderground
Here is a simple Linux bash script for uploading images to WeatherUnderground. Backstory and steps at end of post.
#!/bin/sh FTPHOST="webcam.wunderground.com" FTPUSER="WU_username" FTPPASS="password_used_to_login" MEDIAFILE="/path_to_your_image/image.jpg" if [ -r $MEDIAFILE ] # File seems to exist and is readable then ftp -n $FTPHOST <<END_SCRIPT quote USER $FTPUSER quote PASS $FTPPASS cd / bin pu…
View On WordPress











