I have had a similar issue, but with a business process which didn't
quite work right.

try this
Have a PHP look for a file called VIEW.STOP (nothing else, just look
for it).....If it exists, display a pay saying site is being updated
Have the PHP look for a file called VIEW.GO......If it exists, show
the image page........
That takes care of the client locking your image file and/or html
file....

For you image upload automation
Put a file called VIEW.STOP.
Delete and upload the new image
RENAME VIEW.STOP to VIEW.GO once your file is uploaded.

What you want to do is eliminate contention for the files....

try doing this via PHP so you have control over what is displayed as
opposed to static HTML which doesn't control anything.



On Jan 16, 6:13 am, Roger <[email protected]> wrote:
> Here is my plan, and how it is going so far, and a major problem I am
> stuck with:
>
> I want to do a somewhat live screenshare of my desktop to another
> person's PC (they have Windows), for free.
>
> I tried the desktop share with Kubuntu and it didn't work with either
> another Kubuntu machine or another Windows machine.
>
> So I thought why not take a screen snapshot and upload it to an html
> page on my website, automatically of course. The person I share with
> could just view my page on their browser.
>
> So I found automatic ways of doing all this, and a way to make the
> page autorefresh  so it has about a 1 second delay between screen
> updates, which is good enough for what I want to do.
>
> The problem I have is I found that when I ftp a file to my site at the
> same time as the browser is refreshing on that page, the value of the
> page (actually the image file within the page) goes to 0 and it stops
> displaying it.  And it gets stuck a 0 value until I stop both
> processes (the ftp and the html refresh), and I reload the image back
> to the site.
>
> So the help I'd like it how to simultaneously load an image to a site
> and view it in a browser with a page refresh, with out causing
> problems like this.
>
> Seems like one of the processes locked the file from being used by the
> other process and it never recovered.
>
> Thanks in advance
>
> Roger
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ubuntu Linux" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubuntulinux?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to