mIRC Home    About    Download    Register    News    Help

Print Thread
Check file in web #260595 20/05/17 09:54 PM
Joined: Feb 2017
Posts: 19
D
Doctor_Souza Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Feb 2017
Posts: 19
hi, How to check if a file exists on a site?

Re: Check file in web [Re: Doctor_Souza] #260596 20/05/17 11:29 PM
Joined: Jan 2004
Posts: 1,165
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,165
There's no guaranteed way to find it, since files can be hidden from search engines. But in search engine you can use site:sitename to focus your search on just that site. i.e.:

site:mirc.com keyword

Re: Check file in web [Re: Doctor_Souza] #260610 22/05/17 07:16 PM
Joined: May 2017
Posts: 12
PlasmaStar Offline
Pikka bird
Offline
Pikka bird
Joined: May 2017
Posts: 12
If you're adept at scripting, use sockets to connect to a website and communicate with it using the HTTP protocol. Although, I think, some 404 pages return 200 OK codes, so there's that to think about; but if you're controlling the web server, shouldn't be much of an issue.


Happy license owner. smile