Welcome! Log In Create A New Profile

Advanced

Re: Check for existing remote files

vt
January 13, 2011 04:20AM
On 1/13/2011 11:40 AM, mignev wrote:

> However, my question ofcource :) Can you tell me guys how I can check
> for existing remote file.
> What i mean:
> how can i check http://www.google.com/logo.png or
> http://dl.dropbox.com/u/3720261/testdir/file.zip

Technically, of course you can build some solution for that, even do it
in your application nginx serves. But think about network delays that
would be raise for each check. It's really not for fast philosophy.

You have to find workaround. I.e., a script running under the cron every
minute, which checks that www.gooogle.com/logo.png exists, and creates
file "exists" under some location, else removes it. And nginx will check
about this file presence.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Check for existing remote files

mignev January 13, 2011 03:40AM

Re: Check for existing remote files

vt January 13, 2011 04:20AM

Re: Check for existing remote files

mignev January 13, 2011 04:59AM

Re: Check for existing remote files

Mikhail Mazursky January 13, 2011 06:52AM

Re: Check for existing remote files

Reinis Rozitis January 13, 2011 05:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 286
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready