Freeway 5 styles

No. That .htaccess file is probably there to keep bad people out of
your logs folder.

Create a new .htaccess inside the Resources folder where your PDF
files live. The thing about these htaccess files is that their
changes are inherited. If you put one at the very top of your site
root, then all of the PDFs in your site will inherit this behavior.
If you put the file right in the same folder as the PDFs, then only
the PDFs in that folder will get the behavior. But if you were to put
a sub-folder inside that Resources folder that in turn contained more
PDFs, they would also get the download behavior. The modification
“flows downhill” if you get what I mean here.

Walter

On Apr 15, 2008, at 5:29 PM, Neil Carter wrote:

Their is also a “logs” Folder, in which I have in fact just
discovered an
“.htaccess” file. Presumably, thereby, this is the File which I should
modify, and which, if I understand Walter correctly, this would
mean that
every PDF on every WebSite which I host would automatically
download. Is
this a correct understanding?


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

Good Morning David,

Probably 95% of the uploads which I do are within the FTP of Freeway, so my
use of Transmit, which I love BTW, is relatively limited. My version of
Transmit is 2.6 OSX, and unfortunately there is a glitch, or setting I
cannot find, whereby I am unable to save any URL as a Favourite, other than
my primary <mycompany.co.uk>. This is the reason which forces me to burrow
down to each Site/Folder/sub-Folder in turn. Once I update to the current
version of Freeway then I would certainly like to use the methodology you
suggest.

Thanks for your interest

Neil - whose given first name is also David!!

On 15/4/08 22:52, “DeltaDave” email@hidden wrote:

Just as an aside to this do you always log in using the “main site” in
Transmit and then burrow down to the specific site in question?

Does the “Website which I am attempting to modify” not have its own username
password access configuration - much like the details you would enter in the
Upload section of your document setup in Freeway.

I, personally, have all the individual sites that I host set up as individual
entries in Transmit so that I know that anything I do when i am in there
through Transmit will only affect that particular site.

It is all to easy when using Transmit to forget where you are using your
method ie. master site>subfolders> sub sub folders.

David


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 Walter,

Another new day, and another batch of queries, but at least mine has been
solved.

I did try various options of the .htaccess file code which you suggested,
but unfortunately, the result was that every folder into which I inserted it
then displayed on-line with a “Server Error 500” warning. So I called up my
Web Host, which incidentally is One & One, with whom my only problem is
their ostensible lack of Mac support, and the support technician, located in
the Phillipines, patiently listened to my problem, and although he couldn’t
explain why your suggested code didn’t work, he updated the .htaccess file
which I had created in the Site Folder containing the PDF files with
<Options +Indexes>, so now, Clicking on the PDF Link either displays the PDF
document, or Right Clicking downloads the PDF to the Desktop. This is
acceptable.

Whether it is possible to set up a code to solely download the PDF, without
the option of reading it in the Browser, I know not, and would be interested
to find out, but at present the above solution is satisfactory.

Many thanks as always for your suggestions yesterday evening.

Neil

On 15/4/08 23:11, “Walter Lee Davis” email@hidden wrote:

No. That .htaccess file is probably there to keep bad people out of
your logs folder.

Create a new .htaccess inside the Resources folder where your PDF
files live. The thing about these htaccess files is that their
changes are inherited. If you put one at the very top of your site
root, then all of the PDFs in your site will inherit this behavior.
If you put the file right in the same folder as the PDFs, then only
the PDFs in that folder will get the behavior. But if you were to put
a sub-folder inside that Resources folder that in turn contained more
PDFs, they would also get the download behavior. The modification
“flows downhill” if you get what I mean here.

Walter

On Apr 15, 2008, at 5:29 PM, Neil Carter wrote:

Their is also a “logs” Folder, in which I have in fact just
discovered an
“.htaccess” file. Presumably, thereby, this is the File which I should
modify, and which, if I understand Walter correctly, this would
mean that
every PDF on every WebSite which I host would automatically
download. Is
this a correct understanding?


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

Yes, this is a result of somebody changing the subject line to create
a new thread in their E-mail application. It’s a cosmetic thing only.
If I go back into the controller code that assembles the “personal”
home page, I can switch from using the subject of the latest e-mail
to the subject of the thread, which is how the thread page gets made up.

Walter

On Apr 15, 2008, at 6:08 PM, DeltaDave wrote:

Hi Walter

I was just going to post a new subject on this

The top of this thread is

Freeway 5 styles

But on the Home page

5 most recent

(waltd, 2 minutes ago) Re: PDF Upload/Download

(jcichy, 17 minutes ago)FW 5.0.1 Update


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

How about giving the user plenty of information alongside the link to the PDF, e.g. file size, and explanation to right click to download, or click to view in the browser.

And give the user the choice of how to work.

David

On 16 Apr 2008, at 12:20, Neil Carter wrote:

Whether it is possible to set up a code to solely download the PDF, without

the option of reading it in the Browser, I know not, and would be interested

to find out, but at present the above solution is satisfactory.

David Owen
Freeway Friendly Web hosting and Domains ::
(Test drive a web hosting account for Free)

http://www.ineedwebhosting.co.uk

http://www.printlineadvertising.co.uk/freeway

On 16 Apr. 2008, 11:50 am, waltd wrote:

Yes, this is a result of somebody changing the subject line to create
a new thread in their E-mail application. It’s a cosmetic thing only.
If I go back into the controller code that assembles the “personal”
home page, I can switch from using the subject of the latest e-mail
to the subject of the thread, which is how the thread page gets made up.

Walter

What I could probably do is scan the incoming subject, compare it with the thread title (based on the Reply-to header) and if I don’t see a match, make a new thread.

Walter


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

It is the little tweaks that you do Walter that just makes things get better and better.

Now if I read the email listings I probably wouldn’t even have noticed this.

David


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