Jump to content

SkySurveyBanner.jpg.21855908fce40597655603b6c9af720d.jpg

Any web geniuses out there? Updating image automatically


Recommended Posts

I want to be able to send image updates to my website, say meteor trace plots or all-sky camera images.

Is there a simple app I can use that will 'monitor' an image for changes, or a folder for a new image, and upload that to my website via FTP?

Alternatively is there a Joomla plugin that can look for my PC (I don't have a static IP) and automatically download the latest image?

Link to comment
Share on other sites

WinSCP and it’s synchronise feature should do the job...

https://winscp.net/eng/index.php

https://winscp.net/eng/docs/task_synchronize

 

Re: Joomla plugin - overcomplicates things - you’d have to configure an s/ftp server or http server on your local machine sharing the folder you’d want to sync, set up a port-forward on your router, buy a dynamic domain subscription, then use a cronjob on the server to get the file on a time schedule. 

More sensible alternative would be to use WebDav if your hosting provider offers it (eg: cPanel shared hosting sometimes provides webdav folders if whoever runs the whm end of the hosting has enabled it for channel customers)... then you can just mount the folder on the webserver as tho it were a local network share on your PC, mapped to a drive letter, then save directly to it. Both these two methods bring inherent security risks alongside them to your local PC.

Other method would be dropbox.com or similar and let the dropbox client handle syncing the folder to your online dropbox account... then hook up to the image via a dropbox share URL in your html on your website. Just keep the filename constant for the latest image.

Realistically, the Dropbox method is probably the easiest to get up n’ running with, followed by WinSCP method.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.