I simplified this as much as possible and still get locked out of the file on the site. I suspect that my web host is causing the problem. I think they do not want pages to be updated on their hosting site so rapidly. Just a guess.
I found another way to do this for now. I put a server on my own PC and am hosting the page myself. This is working well, but I just realized that scrot doesn't capture the mouse cursor. Any ideas how to capture the mouse cursor? I may need a new post for this new question. Roger Zimmerman www.electrical-engineering-services.com On Jan 16, 4:17 pm, Roger <[email protected]> wrote: > I'll look at them, thanks. > > In re-looking looking at my ftp scripts, I did more testing with the > only process running was to continuously upload the file with the ftp > script. I found that very often it hangs, it uploads a few times then > freezes, and it is not consistent at all. I think I may need to do > more in the ftp code, or use a better way to upload the file more > reliably. > > Can you spot any problems in the ftp upload, I simpified it as much as > possible to reduce possible errors: > > HOST='ftp.shaw.ca' > USER='roger.zimmerman' > PASSWD='password' > > ftp -n ftp.shaw.ca <<SCRIPT > user $USER $PASSWD > cd /sharedesktop > # delete screen2.jpeg (I tried it with or without this line) > send screen2.jpeg screen2.jpeg > quit > SCRIPT > > exit > > Roger > > On Jan 16, 3:37 pm, linuxonbute <[email protected]> wrote: > > > > So I think you are right in suggesting PHP, which is getting more > > > complex than I'd hoped. > > > You might like to try looking on some php sites as there are many code > > samples you can freely download. > > >http://www.phpbuilder.com/ > > >http://php.resourceindex.com/ > > >http://www.hotscripts.com/PHP/ > > > for example --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
