> > 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. If you are just using a default file name for the screenshot then it will just overwrite the file which you have uploaded. Maybe you can find a way round this. It's not something I have tried but one possible solution could be that you file upload could have some way of incrementing the file name to upload. eg file1.jpg, file2.jpg etc
Also I have noticed that when I am downloading from the internet the file name on my machine will be something such as myapp.bin with a size showing from ls -l as 0 and with it will be another file with a name myapp.bin_part. It's size grows until the download is complete and then the myapp.bin has the correct size and myapp.bin_part disappears. So it might be possible to have the automatic refresh on your friends machine detect that change and not actually refresh until the file is fully uploaded. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
