Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How to check for file exists at another web site.

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #205190

    I have a set of add-ins that are often updated by the originator, but unless they send out a notification I dont know there is an update.
    they do keep all the most current ‘versions’ in a single directory at another site. How can I check that directory to see if the version I have is the same as the version they have?

    I might have /files/mods/change_picture_style_ver_5.2.txt

    But the site has
    /user_mods/newest_versions/change_picture_style_ver_5.5.txt

    Hopefully there is an easy way that I can review 20-30 of my files to see if each is “up-to-date”.

    Thanks in advance for any help.
    J

    #205195

    I would assume the files are, because thats usually where they point you to to download the most recent version.

    But I may not always know what the most current file name is.

    My directory contains
    add_person_age_row_v10.0.0.1.cfg
    adjust_date_column_v10.0.0.0.cfg
    admin_users_menu_v9.0.0.3.cfg
    allow_anon_guest_to_specific_pages.cfg
    ancestors_map_1_add_map_v10.0.0.1.cfg
    balanced_media_v9.0.3.1.cfg
    bot-trap_v10.1.0.1.cfg
    branches_sort_v10.0.0.1.cfg
    burials_more_details_v9.2.0.5.cfg
    calendar_assigned_branch_v10.0.1b.cfg
    cemeteries_admin_list_v9.2.0.3.cfg

    If the filename matches in their directory I’m good…
    But if it doesnt, then I want to know.

    Thanks
    Jay

    #205199
    Shikkediel
    Participant

    I’d be thinking about using Ajax. For which cross domain restrictions may have to be relaxed (allowing the source site). I don’t think php could create such interaction with an alien server.

    #205203

    I was just thinking along the lines of

    I have ver 5.2 check for that

    if it’s NOT found then I need to look for reason
    (which will probably be a new ver is out ver 5.3)

    #205235

    Alen,

    I am waiting to hear back from the Admin about setting up an actual folder directory location on the server that the program currently resides on.

    In the meantime, I have set up a test folder location on my web site.
    Not sure if any settings need to be adjusted by my ISP in order for this to work. I did set the permissions for this directory to 755.

    http://1familytree.com/Mods/versions/

    and there are a dozen or so useless files there, with the correct filenames.

    Thanks for any help,
    Jay

    #205380
    Shikkediel
    Participant

    I don’t think php could create such interaction with an alien server.

    Actually, it probably could but I doubt they’d let people run remote scripts on their server.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Back End’ is closed to new topics and replies.