User Tag List

Results 1 to 2 of 2

Thread: checking for a valid URL

  1. #1
    Clicker Fusion 2.5 Developer
    JohnZ's Avatar
    Join Date
    Jul 2006
    Posts
    140
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    checking for a valid URL

    Hi There

    I want to be able to check if an image is available on the net via a URL. I want to be able to check if the file exists before downloading the file. At the moment I can't seem to find a way to check this. I've tried the download object but it does not report a problem with an invalid path to a JPG and creates a version on the hard drive. This version of the JPG is obviously corrupt. So to recap is there a way to:

    a) check a URL (linked to JPG on the net) is valid/exisits?
    b) check if the file that has been downloaded is corrupt

    Cheers
    John

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Apr 2008
    Posts
    483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: checking for a valid URL

    Sometimes I use live receiver or the get object to check to see if a URL is valid. There is no option on any of these extensions to check if a page is actually valid.

    However, what I usually do is get the page from live receiver, and have the data received into the rich text object, and search a specific text that I know the page is going to have.

    Or If I do not know any of the content on the page, than I search to see if a page error document is listed.

    What you should do is try my idea, and intentionally enter an incorrect URL, and see what error message comes up.

    If you need an example made, I can do that for you.

Similar Threads

  1. A valid signing identity matching...
    By iamjot in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 28th October 2011, 11:23 AM
  2. Valid file name?
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th February 2011, 08:57 PM
  3. Not a valid Win32 application?
    By Game_Master in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 1st September 2008, 08:26 PM
  4. Getting Valid Monitor Resolutions
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 26th March 2008, 11:23 AM

Posting Permissions

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