[Pro] Link to pdf change upload location

Hi all,

I am setting up a website which will have weekly lists uploaded which will be available for visitors to download as pdfs. The Link to PDF obviously works well, but it copies the relevant pdf to the Resources folder.

Ideally I want to set up a folder on the server to which my client can access and upload the weekly pdfs without me having to do it every week. Is there a way of changing where the Link to PDF uploads the pdf, and of course the download path on the actual site to find the pdf, or do I need to look at a different method?

Thanks in advance.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The Action isn’t going to help you in this case. But if you’re setting
this up for your client to do the uploading, you won’t need the Action
anyway.

If you are uploading into a subfolder that’s “next to” the page in the
server’s filesystem, just use the External tab of the Hyperlink dialog
to create the link, juat like you would if you were making a link to
another site. In the URL field, enter:

 foldername/example.pdf

As long as your client always uploads (and overwrites) a file of the
same filename, this will not break. But if your client doesn’t name
the file correctly, the old file will be served. Similarly, if your
client removes the file on the server, or renames it there, the link
will be broken on the page.

Walter

On Feb 24, 2011, at 4:26 AM, Jonathan Riddle wrote:

Hi all,

I am setting up a website which will have weekly lists uploaded
which will be available for visitors to download as pdfs. The Link
to PDF obviously works well, but it copies the relevant pdf to the
Resources folder.

Ideally I want to set up a folder on the server to which my client
can access and upload the weekly pdfs without me having to do it
every week. Is there a way of changing where the Link to PDF uploads
the pdf, and of course the download path on the actual site to find
the pdf, or do I need to look at a different method?

Thanks in advance.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Jonathan,
If you use the Upload Stuff or Upload Extra Resources Actions you can choose to upload the PDF to the same folder as the html page the Action is applied to. If the link to download the PDF is on the same page then the URL in the Edit Hyperlink dialog box will simply be the name of the PDF file. For example;

my_pdf_for_download.pdf

Upload Stuff - http://www.freewayactions.com/product.php?id=032
Upload Extra Resources - http://www.actionsforge.com/projects/view/26-upload-extra-resources

Regards,
Tim.

On 24 Feb 2011, at 09:26, Jonathan Riddle wrote:

Hi all,

I am setting up a website which will have weekly lists uploaded which will be available for visitors to download as pdfs. The Link to PDF obviously works well, but it copies the relevant pdf to the Resources folder.

Ideally I want to set up a folder on the server to which my client can access and upload the weekly pdfs without me having to do it every week. Is there a way of changing where the Link to PDF uploads the pdf, and of course the download path on the actual site to find the pdf, or do I need to look at a different method?

Thanks in advance.

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro.

Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Excellent stuff. Thanks to you both. I have recently had to start working in Freeway again more regulary, and I had forgotten just how much I enjoy using it - even if I sometimes don’t see the obvious!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options