Guys,
I have a problem - obviously seeing as I am posting a question here. I have set up a company intranet. As part of this intranet, our Sales Team has a database where they can record all communications with potential customers. What they would like to be able to do is take a copy of this database and any associated files with them when they go to visit a client.
I have written an ASP program which first prompts them for the name of the company whose data they want. Once this has been supplied, the program then makes a copy of the database on the server, deletes all records in the copy that don't relate to the selected customer. This is where the problem begins. I then want to copy that database to a shared drive on the users PC using the UNC path. So my code has the following:
fso.CopyFile "C:\SalesLeads.mdb", "\\" & Request.ServerVariables("REMOTE_ADDR"
& "\SalesLeads\SalesLeadsRO.mdb", True
However, I get a permission denied error. I have set up the shared directory giving everybody full access to the directory. Has anyone got any ideas?? Mise Le Meas,
Mighty![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I have a problem - obviously seeing as I am posting a question here. I have set up a company intranet. As part of this intranet, our Sales Team has a database where they can record all communications with potential customers. What they would like to be able to do is take a copy of this database and any associated files with them when they go to visit a client.
I have written an ASP program which first prompts them for the name of the company whose data they want. Once this has been supplied, the program then makes a copy of the database on the server, deletes all records in the copy that don't relate to the selected customer. This is where the problem begins. I then want to copy that database to a shared drive on the users PC using the UNC path. So my code has the following:
fso.CopyFile "C:\SalesLeads.mdb", "\\" & Request.ServerVariables("REMOTE_ADDR"
However, I get a permission denied error. I have set up the shared directory giving everybody full access to the directory. Has anyone got any ideas?? Mise Le Meas,
Mighty