Page 1 of 1

Upload PDF to server

Posted: Fri Apr 24, 2026 2:59 pm
by brynj
Whats the easiest solution please ..... if indeed its possible!

I need to add a button/form which allows an authorised user to upload a PDF document into a specific folder on the server which can then be downloaded via another button on a publicly visable webpage.

Ideally I will have 2 buttons on the public website that link to PDF's - the issue here is that each month the names on the buttons and links to PDF's need to change to a 'this month' & 'next month'

Example : Today, Button 1 would be called 'April' and Button 2 would be called 'May' and open similarly named PDF docs
1st May the names would change to Button 1 called 'May' and Button 2 called 'June' and open the similarly titled PDF docs

I'm sure an upload button and a download button could be incorporated but its the name/title of the buttons & the relevant links to document name changes to download that may not be possible. I understand these could be manually amended every month but just wondered if it could be automated somehow ? Maybe some sort of wildcard name that changes to reflect the month by the system date to give current month and month+1

Long shot but worth while asking :)

Re: Upload PDF to server

Posted: Fri Apr 24, 2026 3:31 pm
by Pablo
This is very specific, so there is no standard solution for this. Creating the button with a different name will require a custom script.

For the file upload you can use a standard form, and upload to a specific folder. And use the login tools to only allow specific users.

Alternatively, for the download buttons you can consider using this extension to display all the upload files in the folder.
https://www.wysiwygwebbuilder.com/boots ... sting.html

Re: Upload PDF to server

Posted: Fri Apr 24, 2026 3:36 pm
by brynj
Thanks Pablo, that's an interesting alternative to list the PDF's rather than use changing buttons - food for thought :D

Re: Upload PDF to server

Posted: Fri Apr 24, 2026 3:41 pm
by BaconFries
As mentioned it would require a custom script. With that said former forum member Navaldesign wrote a solution for this
and can be found at the following url note the script used is old as is from 2009 so it is only provided as example of what can be done..
https://www.wysiwygwebbuilder.com/commu ... df#p275818

Re: Upload PDF to server

Posted: Fri Apr 24, 2026 3:53 pm
by brynj
Sorted Thanks

Re: Upload PDF to server

Posted: Fri Apr 24, 2026 3:56 pm
by brynj
BaconFries wrote: Fri Apr 24, 2026 3:41 pm As mentioned it would require a custom script. With that said former forum member Navaldesign wrote a solution for this
and can be found at the following url note the script used is old as is from 2009 so it is only provided as example of what can be done..
https://www.wysiwygwebbuilder.com/commu ... df#p275818

Thanks for info, I will have a look ......