This is a discussion on "Folder Permissions" within the Classic ASP section. This forum, and the thread "Folder Permissions are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Folder Permissions
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Folder Permissions
I have the following code that checks to see if a folder is created, and if not, then create it:
if fso.folderexists("D:\xxxx\uploads\" & rsUpdateLead("companyID") & "\") = false then set cf=fso.CreateFolder("D:\xxxx\uploads\" & rsUpdateLead("companyID") & "\") end if Then I'm trying to upload the file the user added to the form: MBRequest("fleUpload").SavePath = "D:\xxxx\uploads\" & rsUpdateLead("companyID") & "\" MBRequest("fleUpload").Save but it gives me permission errors for the save.. how do I set the permissions on the folder through code after the folder has been created? |
|
|
![]() |
| Tags |
| setting them |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Directory Permissions | jewelz | Website Planning | 10 | Mar 2nd, 2007 16:43 |