Dynamically Create/Update Page based on local Client folder of Files

  • Thread starter Thread starter Joe Santacroce
  • Start date Start date
J

Joe Santacroce

I would like to have my website (Exists already)
dynamically update based on a list of files in a local
(Local LAN Volume) folder avialable to my client PC.

In most cases this will be a series of Excel (.XLS) Files
with changing file names every day. When a user access
this webpage, they will see the current list of files in
that folder and be able to open/download them.

Is this possible or do the files need to be FTP'd daily to
a folder on the webserver?

Thanks,

Joe..

(e-mail address removed)
 
-----Original Message-----
I would like to have my website (Exists already)
dynamically update based on a list of files in a local
(Local LAN Volume) folder avialable to my client PC.

In most cases this will be a series of Excel (.XLS) Files
with changing file names every day. When a user access
this webpage, they will see the current list of files in
that folder and be able to open/download them.

Is this possible or do the files need to be FTP'd daily
to a folder on the webserver?

Thanks,
Joe..
(e-mail address removed)

A daily FTP would probably be the easiest. You would then
configure the target folder to enable directory browsing.

Another posssibility would be configuring a virtual
directory on the Web server that points to the network
location you want, and that permits directory browsing.
You would need to configure this virtual directory to use
a user account with the necessary network access.

The most elegant solution would involve writing two bits
of ASP or ASP.NET code: one to read the remote directory
listing and display a corresponding list of hyperlinks,
and another to read a selected file and send it to the
browser for download. You would also need to configure the
Web server to run these pages using a domain account with
the necessary privileges.

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Joe Santacroce said:
Thanks for the reply.

Could you recommend a source (Book, KB or other) that I
could get more info and perhaps some examples from.

I agree the FTP Will be the simplest way to go. I would
need to create a form though that would read the
directory/folder every time it is viewed as when the files
are updated in that folder the names will chage (they must
include date/time stamp in the filename.

If you configure the Web server to permit directory browsing on the
folder where the files reside, and if that folder contains no
default.htm or default.asp file, then requesting a URL that names that
folder will display a crude but legible (and clickable!) list of file
contents.

For something more elaborate, consult MSKB article 218606 or 272662.

For a more complete write up, consult, "Scripting Dynamic Menus and
Tables Of Contents," Chapter 27, page 780, in Microsoft FrontPage
Version 2002 Inside Out (gratuitous self-promotion).

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Back
Top