I am uploading a .png image to a GoDaddy hosted website. GoDaddy caches the 
image and it requires a manual cache flush to make the new  image appear. 
My thought was to serialise the file name and reference that serialised 
file name in the index.html that goes up with it so the most recent image 
is displayed. What I  need to do next is delete the previous image as a 
matter of good housekeeping.

I’m using Matthew Hall’s weewx-sftp report generator (which works a treat) 
but doesn’t provide an rm capability, hence the idea to call a python 
module with the sftp rm command in it.

Can anyone tell me if I can call a python script fromStdReport or any 
better ideas (apart from ditching GoDaddy)?


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/55a0b888-91c3-422d-a0a4-f7e62fd38af7n%40googlegroups.com.

Reply via email to