• Hello Support .. I am trying to find a way to update a PDF file that is already uploaded to my media library and already live on the internet on one of my pages.
    We are a Racing club and I wanted to update the leaderboard every 15 minutes.

    The PDF is updated every 15 minutes (created in Microsoft Access and sorted into the correct order and output automatically to a specific folder on my local C Drive replacing any existing file).

    Is there anyway to upload this file to my website to replace the existing PDF without going through the login screen and dashboard ie can this be done automatically?

    Maybe there is an alternative way but I am just trying to automate the process and speed up the race leaderboard.

    Any pointers appreciated.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • You could use WP CLI (command line interface) to overwrite the file. Or just FTP.
    Or don’t use a PDF, but display the info dynamically in the page (but the page would still need to get the data from somewhere). PDF isn’t a very flexible format.

    Thread Starter alexanderweb

    (@alexanderweb)

    Many thanks Joy …
    I can be flexible in the output format so it does not have to be a PDF.
    In Microsoft Access and can output in many formats. This I can do automatically every 15 minutes so the solution I am looking for is how to update automatically to the website.

    I have used FTP before but that was into an old website software but in the last year I have moved all my sites to WordPress so no idea how to do this but will keep looking for a solution.

    The leaderboard is just 3 fields Position Name Time and the idea is to update every 15 minutes so runners can see their positions.

    Thanks for your reply
    Alexander

    Dear Alexander,
    Could you please let me know if you solved the issue ?
    Because i have your same problem..
    Thanks

    I am working on something alike it, i was looking for help with the media Rest API.. using the POST to edit the same file knowing it’s id.

    Thread Starter alexanderweb

    (@alexanderweb)

    Sorry for the late reply Danishmohy …. I am still working on that issue so at present stll using PDF files and updating every 15 minutes. It works but there must be a better way?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Automatically update PDF file’ is closed to new replies.