Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8629471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:48:55+00:00 2026-06-12T08:48:55+00:00

I am playing always the same video link from a financial web site to

  • 0

I am playing always the same video link from a financial web site to my Web site. The only change in the link from day to day is the date of the video.
The video for the actual day is not always available at the same time. I have to show the latest video available.
My question is what would be the code to look and see if the link for today exists so that I will use today’s link or if null I will show only the latest available video.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:48:56+00:00Added an answer on June 12, 2026 at 8:48 am

    C#

    Better to do it from the server and not the client. Look to see if the file is there with C#. If not give it one that is. File.Exists

    JavaScript

    This is not as good since it means extra http requests. If the file is on the same domain, make an Ajax call to it. Use a HEAD request. If it gets the file, you know it is there. If it errors, you know it is not there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The domain name is static so it will always be the same. Its not
I'm currently playing with C, C++ and ASM. I can see that there's always
Playing with the new(ish) url rewriting functionality for web forms, but I'm running into
Am playing with Google Maps V3 API and StyledMarkers. The data is derived from
When playing a video file on a computer, HD television (LED, Plasma or whatever...),
I'm trying to create a video tag for use with Chrome only. I don't
any help greatly appreciated. Problem: Ubuntu 11.10 not playing nice with Java's JOGL Summary
I am making a web app that uses MediaElement.js (ME.js) for playing audio and
Playing around with Python - tkInter - Entry widget - when I use validatecommand
Playing with jquery for the first time, and I'm trying to get a simple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.