+ Post New Thread
Results 1 to 3 of 3
Wireless Networks Thread, ftp website issue, birdbox in Technical; Hi, I've created a program that regularly (each second) ftp's an image on our network to our website, so that ...
  1. #1
    rocknrollstar's Avatar
    Join Date
    Jun 2008
    Location
    Hampshire
    Posts
    435
    Thank Post
    387
    Thanked 28 Times in 24 Posts
    Rep Power
    20

    ftp website issue, birdbox

    Hi,

    I've created a program that regularly (each second) ftp's an image on our network to our website, so that it is visible to the world. It's a constantly changing picture, taken from our new wireless bird box.

    The webpage that the image is shown on refreshes quickly, so that it looks realtime.
    The original image is also ftp'd regularly.

    Even though the image ftp's ok, the webpage doesn't always get the latest version.

    I think there is a kind of concurrency issue going on with the ftp'ing and the client grabbing the image, that perhaps a file read/write issue might happen?

    Any thoughts? I'm a little stumped on it. Thought about a hack using php that copies the image twice, so that the website grabs the copy instead. This would be done on the filesystem, which is a quicker action than ftp.

    Thanks.

  2. #2

    Join Date
    Dec 2005
    Posts
    523
    Thank Post
    34
    Thanked 87 Times in 77 Posts
    Rep Power
    39
    My first thought is caching...

    Is the web server caching any data? Or the isp caching data?

    Could be any number of reasons for it not to update as quickly as you are wanting it too.

  3. Thanks to siuko from:

    rocknrollstar (24th February 2011)

  4. #3
    rocknrollstar's Avatar
    Join Date
    Jun 2008
    Location
    Hampshire
    Posts
    435
    Thank Post
    387
    Thanked 28 Times in 24 Posts
    Rep Power
    20
    Thanks for your ideas siuko. Wasn't sure how to check the cache, but I found out it's only happening randomly, so not enough to warrant a full investigation.

    I've finished the birdbox page, although we've not installed the box yet, so not a lot of birds around. Check out BirdBox Gallery if you're interested

SHARE:
+ Post New Thread

Similar Threads

  1. Birdbox setup costs
    By mullet_man in forum General Chat
    Replies: 1
    Last Post: 27th January 2011, 12:12 PM
  2. Squid and FTP issue
    By Number6 in forum Internet Related/Filtering/Firewall
    Replies: 4
    Last Post: 6th May 2010, 10:04 PM
  3. FTP Issue
    By Stuart_C in forum Windows Server 2000/2003
    Replies: 4
    Last Post: 20th January 2010, 11:19 AM
  4. Particular website blocked for ftp?
    By TechSupp in forum General Chat
    Replies: 3
    Last Post: 21st April 2008, 06:53 AM
  5. Lancs Website FTP not working
    By SimpleSi in forum Web Development
    Replies: 5
    Last Post: 3rd November 2006, 01:05 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •