Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uploading Files To A web server

Status
Not open for further replies.

RebelFox

Programmer
Jun 16, 2002
62
GB
Hi,

we have all at some time set up a home web page where by we FTP our static html to an ISP. My boss has recently introduced an intranet complete with ASP server (IIS).
I've been thinking about the possibilities of letting every dept manager have access to a page that lets them type into a form a local html file on their C:\drive they can upload on to the web server so that they can set up department web pages in much the same way as a home web page is set up.

To do this I think I can set up asp pages using the 'record' object to move files about. I havn't been able to find an example anywhere that allows me to move a file from a local C drive to a web server. I have two questions about this.

1) Can the 'record' object ( objRecordSet.CopyRecord )
point at a local drive or should I be using a different
method?

2) Obviously security becomes an issue. How can I
prevent a department manager from maintaining
any other folders other than his own within the web
server route?

many thanks

 
just some very basic and quick ideas, as i'm on my way out.

NTFS file permissions to stop people accessing other paeeps folders. And/or Username and passwords set-up in a db. User logs in and can upload html files.

Check for ASP upload or something similar!

hope it helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top