Hi, Thanks for the suggestion. What I am not sure though is how to have the browser wait until the next file is uploaded. Since the browser and ftp uploads are coming from different PCs they can get out of sync with each other, and even if you made 10 files eventually one process will catch up with the other, then the access problem happens as they both try to access it at the same time.
Ideally if I could just have 2 files sitting there, lockout one, upload it, then unlock it for the browser, then repeat with the other file, this sounds like a solution. But I am not sure how to: 1. How does the browser know it is free to access 2. How could I lock out the file in ftp so the browser doesn't try go get at it 3. Then how to unlock it againg 4. If this works then I need to figure out how to do it in HTML, because the command I use just keeps repeating itself (auto refresh) So I think you are right in suggesting PHP, which is getting more complex than I'd hoped. If you think of any other ways, let me know Thanks Roger _____________________________ > > Ok, > What about something on these lines then: > upload your file naming it whatever1.jpeg, whatever2.jpeg, > whatever3.jpeg etc up to say whatever10.jpeg and then starts from > whatever1.jpeg again. > Find out how long it takes to upload the file. > Create 11 pages on your friends PC each one should have a timer ( the > refresh ) to wait long enough so that the next file has enough time to > upload completely. Page 1 should just wait until the first file is > uploaded and then go to the next page. Each of the other pages should > load a different .jpeg file ( 1 to 10 ) Then page 11 should point back > to page 2 ( which should load whatever1.jpeg ) and so on. > > Exactly how you would implement this depends on your webserver and > what facilities are there. php springs to mind as something you could > embed in the pages. In fact I suspect that with php you could just > have one page and load different pictures into it on a cyclical basis. > it's a while since I did anything with php so I don't remember exactly > what it can do. If it can get the file size then that would probably > work. > > Anyway if I can think of other ideas I will let you know. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
