Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / August 2004

Tip: Looking for answers? Try searching our database.

setup download

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard - 22 Aug 2004 16:43 GMT
whats the correct way to do this in pub 2003 caus eI've setup my site to
link to a .xls file and its not downlaoding, does the oledata.mso file have
anythign to do with it?
David Bartosik - MS MVP - 22 Aug 2004 17:05 GMT
Different file types are handled differently by different browsers. And
there are standard practices of doing things on-line. For example if the
client PC has the appropriate office components installed then Internet
Explorer would open an Excel file "in" the browser window, whereas a non IE
browser would not. The standard for supplying a file - of any type - for
download is to do so in zip format, a .zip file. See
http://www.publishermvps.com/Default.aspx?tabid=38 as an example. The
exception to such is when you simply want to offer a copy versus the real
thing, in which case the standard is to present it as a PDF file (.pdf).

Signature

David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com
enter to win Pub 2003:
www.davidbartosik.com/giveaway.aspx

> whats the correct way to do this in pub 2003 caus eI've setup my site to
> link to a .xls file and its not downlaoding, does the oledata.mso file have
> anythign to do with it?
Richard - 22 Aug 2004 19:52 GMT
Ok. Thanks for the advice but I am still having problems. I have a link to a
zip file now but I get the same problem. When I click on the link if you
look at the bottom of IE you see's it is trying to look for a local path, if
I click on the link I get a lot of internet activity but nothing downloads.
The file is only 2kb. The website is www.andrewscomputersystems.co.uk click
on products on the left and the link is at the bottom. Any ideas? I have run
IISurlscan and IIS lockdown ands its running on Windows XP IIS 5.1. I am
running a firewall with just port 80 open. I assume that is the port the
downloads run on too?

> Different file types are handled differently by different browsers. And
> there are standard practices of doing things on-line. For example if the
[quoted text clipped - 11 lines]
> have
>> anythign to do with it?
Richard - 22 Aug 2004 19:59 GMT
.............................I have just taken IISlockdown off as mentioned
below but still no luck.
> Ok. Thanks for the advice but I am still having problems. I have a link to
> a zip file now but I get the same problem. When I click on the link if you
[quoted text clipped - 21 lines]
>> have
>>> anythign to do with it?
Richard - 22 Aug 2004 20:10 GMT
sorry about all the mails,

ok I think I have figured it out.........I set the hyper link the
http://www.andrewscomputersystems.co.uk/index_files/pricelist.xls
instead of the local path and it works now, is this correct way of doing it?
While I was playing with this I noticed the url wasn't very user friendly -
e.g when I click on the contact button the url is
http://www.andrewscomputersystems.co.uk/index_files/Page1276.htm

is there any way of changing the website so it points to something like
http://www.andrewscomputersystems.co.uk/contact.htm

is this a publisher 2003 setting?

> .............................I have just taken IISlockdown off as
> mentioned below but still no luck.
[quoted text clipped - 25 lines]
>>> have
>>>> anythign to do with it?
David Bartosik - MS MVP - 22 Aug 2004 20:59 GMT
> ok I think I have figured it out.........I set the hyper link the
> http://www.andrewscomputersystems.co.uk/index_files/pricelist.xls
> instead of the local path and it works now, is this correct way of doing it?

If in the Publisher page you create a hyperlink and then browse to a file
locally then the hyperlink will point to your local file. That would be
incorrect for online use, you need to manually upload such "external" files
and then hyperlink to the URL of the file on your server. Since each time
you publish Publisher will maintain the site folder and site pages, I
recommend you NOT place external files in the Publisher folder as your
example shows. Instead keep them outside the Publisher web, hence the term
"external file". Either at the domain root or organized in manually created
folders, ie:

http://www.andrewscomputersystems.co.uk/myfile.zip

or

http://www.andrewscomputersystems.co.uk/mydownloads/myfile.zip

And do not use embedded spaces in folder names or in file names, instead use
under-scores (like Publisher does), and do not mix case when naming, use all
lowercase ( http://www.publishermvps.com/Default.aspx?tabid=30 ).

> While I was playing with this I noticed the url wasn't very user friendly -
> e.g when I click on the contact button the url is
[quoted text clipped - 4 lines]
>
> is this a publisher 2003 setting?

Yes, look in options under Tools.

Signature

David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com
enter to win Pub 2003:
www.davidbartosik.com/giveaway.aspx

Richard - 22 Aug 2004 22:04 GMT
Thanks for all of your advice.

I've sorted the download into a structured folder ok.

I can't seem to find the option that changes the
http://www.andrewscomputersystems.co.uk/index_files/Page1276.htm

to a
http://www.andrewscomputersystems.co.uk/contact.htm

for the url when the contact (or any other button is used).

The only other things that worrying me is that the following link can be
entered
http://www.andrewscomputersystems.co.uk/index_files/
and this takes me to all of the files\pages in that folder.
How would I stop this being accessed but still allow the browse
function of the pages that are stored within it?

>> ok I think I have figured it out.........I set the hyper link the
>> http://www.andrewscomputersystems.co.uk/index_files/pricelist.xls
[quoted text clipped - 36 lines]
>
> Yes, look in options under Tools.
Richard - 22 Aug 2004 23:07 GMT
ok I've sorted the page name problem - just wasn't looking hard enough -
thanks

I still got
http://www.andrewscomputersystems.co.uk/index_files/contactus.htm

so I put all files in the root of wwwroot and edited the index.html to look
for all files correctly instead of the index_files folder that pub created.
I also changed the file list too. This was my first bit of html coding I
have ever done but it seemed the logical way of doing things.

Surely there is a function in publisher to either stop creating a
index_files or to hide tha when its looking for a page?
> Thanks for all of your advice.
>
[quoted text clipped - 56 lines]
>>
>> Yes, look in options under Tools.
David Bartosik - MS MVP - 23 Aug 2004 01:17 GMT
> ok I've sorted the page name problem - just wasn't looking hard enough -
> thanks

you're welcome, but you seem to be making this way too complicated.

> I still got
> http://www.andrewscomputersystems.co.uk/index_files/contactus.htm

that's what it's supposed to be.

> so I put all files in the root of wwwroot and edited the index.html to look
> for all files correctly instead of the index_files folder that pub created.

whoa! you did what? If you don't want the sub-folder then turn off the
option to have it. This option is under Tools, Options. You should take some
time to get familiar with options (my site has documentation).

You should never edit the html source code ( as stated on the FAQ -
http://www.publishermvps.com/Default.aspx?tabid=30 ) after a publish.
Everytime you republish the site the files are rewritten.

> I also changed the file list too. This was my first bit of html coding I
> have ever done but it seemed the logical way of doing things.

Actually the file list file is an xml file not html, it's function has
nothing to do with the actual functioning of the web site. It's a special
file that Publisher uses to facilitate the Incremental Upload feature. It
serves a purpose to Publisher and thus is not to be modified.
You should delete all current site files and then publish fresh ones.

> Surely there is a function in publisher to either stop creating a
> index_files or to hide tha when its looking for a page?

Yes there is, as you said earlier- you weren't looking. But... turning off
the sub-folder does modify the file naming convention. It will append the
file names with a prefix of index. I wouldn't get hung up on this either
way, site visitors don't care about your page naming. When you browse sites
do you care about what they named pages?

Signature

David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com

Richard - 23 Aug 2004 02:21 GMT
ok, cheers for the advice, website is well on the way now you've helped me,
all issues solved - this newsgroup is brilliant -- and you a star - keep up
the good work.

Just one last question - Can you username\password protect a download using
pub2003?
>> ok I've sorted the page name problem - just wasn't looking hard enough -
>> thanks
[quoted text clipped - 38 lines]
> sites
> do you care about what they named pages?
David Bartosik - MS MVP - 23 Aug 2004 03:14 GMT
> Just one last question - Can you username\password protect a download using
> pub2003?

That's a server-side function. Typically securing access is handled with
programming logic on the server which is well beyond the scope of Publisher.
Optionally you can secure a folder, and thus the files it contains, with
server permissions - some hosts support passwording folders, normally thru
their control panel - ask your host for options.

Signature

David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com

Richard - 24 Aug 2004 00:21 GMT
I host this site using IIS 5.1 - I can get the web sharing feature to ask
for a username and password on a folder ok  Is this a good way to do it?

>> Just one last question - Can you username\password protect a download
> using
[quoted text clipped - 6 lines]
> server permissions - some hosts support passwording folders, normally thru
> their control panel - ask your host for options.
David Bartosik - MS MVP - 24 Aug 2004 01:00 GMT
Server side permissions is the faster easier way to go.

Signature

David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com
enter to win Pub 2003:
www.davidbartosik.com/giveaway.aspx

> I host this site using IIS 5.1 - I can get the web sharing feature to ask
> for a username and password on a folder ok  Is this a good way to do it?
[quoted text clipped - 9 lines]
> > server permissions - some hosts support passwording folders, normally thru
> > their control panel - ask your host for options.
David Bartosik - MS MVP - 22 Aug 2004 21:09 GMT
Looks like you asked about "oledata.mso" in the IIS forum (not sure why).

OLE means Object Linking and Embedding. It's the technology that allows you
to insert a program object, like a spreadsheet, into a program file, like a
Word document, and then be able to modify the object in the file (in the
case the spreadsheet in a Word file) and see the modifications applied to
the original source file ( the spreadsheet file).

My guess to why you'd get an oledata file in the Pub web is that you've
inserted an object onto a page in the web publication. Doing so is incorrect
as objects can only apply to print publications and not web publications.
OLE can't exist in a web.

Delete the current site files, remove the object from the Pub file, and then
publish new site files.

Signature

David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com
enter to win Pub 2003:
www.davidbartosik.com/giveaway.aspx

> whats the correct way to do this in pub 2003 caus eI've setup my site to
> link to a .xls file and its not downlaoding, does the oledata.mso file have
> anythign to do with it?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.