Efficient way to refresh a linked file

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
JimHare
 
 
Posts: 7
Joined: Wed Mar 01, 2017 8:52 pm

Efficient way to refresh a linked file

Post by JimHare » Wed Apr 04, 2018 1:33 pm

I checked and didn't see any specific references to my issue.

Have several pages on our site that are mainly hyperlinks to PDF files - we need to keep many municipal documents online for our constituents.

When I make a change to an existing PDF, or add a new PDF link to the page, the changed and/or new file only gets uploaded when I do a "Publish All file" option, which sometimes takes a lot of extra time to republish all the OTHER pdf source files as well. For example, we have three years of bi-monthly council meeting minutes that are kept online, and every two weeks when there's a NEW minutes file, all 70+ files end up getting re-uploaded.

This seems inefficient and a waste of bandwidth and time.

Is there a way, such as with a direct FTP upload (?) to send the updated files to the website without having to "publish all" ? I would like to simply put the link text box on the page and then get the one new file to the site without having to upload every linked file again.

Thanks!
jim

User avatar
Pablo
 
Posts: 12193
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Efficient way to refresh a linked file

Post by Pablo » Wed Apr 04, 2018 1:56 pm

If you have lots of PDFs then it may be more efficient to use absolute links.
So, instead of linking to a local file, link to the file on the server:
http://www.yourwebsitecom/filename.pdf

Also note that if all file links are in a separate object then you can select 'don't publish assets' for the ones you do not want to publish.

WWBman
 
 
Posts: 539
Joined: Fri Jan 08, 2010 6:10 pm

Re: Efficient way to refresh a linked file

Post by WWBman » Wed Apr 04, 2018 2:04 pm

To upload the new PDF(s) you could have a separate page (for your own use) and use the File Upload part of the built-in PHP Form Processor.
Form > Advanced > File Upload.

JimHare
 
 
Posts: 7
Joined: Wed Mar 01, 2017 8:52 pm

Re: Efficient way to refresh a linked file

Post by JimHare » Wed Apr 04, 2018 3:27 pm

Pablo wrote:
Wed Apr 04, 2018 1:56 pm
If you have lots of PDFs then it may be more efficient to use absolute links.
So, instead of linking to a local file, link to the file on the server:
http://www.yourwebsitecom/filename.pdf

Also note that if all file links are in a separate object then you can select 'don't publish assets' for the ones you do not want to publish.
So use ftp to shove the pdfs up to the hosting site first, and then publish the html page (from WWB) with the link text. That's seems straightforward.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests