I have already read the other post about this problem and i think there is a problem of writing permission, so I must move the upload folder to another directory but where can I specify the path for the new folder?
Thnx
P.S. Now is in root/forum/uploaded and i must move it to root/pubblic/uploaded
Edited by - Gandalf il Bianco on 20 May 2001 21:48:33
quote: private function saveDoc() Dim strRoot Dim strFile Dim fso strRoot = replace(strCookieURL,"/mods/","/",1,-1,1) & "uploaded" strRoot = Server.MapPath(strRoot) & "\" & strFolder
strFile = strRoot & "\" & objUpload.Files.Item(0).FileName Set fso = Server.CreateObject("Scripting.FileSystemObject") If not fso.FolderExists(strRoot) then
fso.createFolder(strRoot) end if objUpload.Files.Item(0).Save strRoot saveDoc = (fso.FileExists(strFile)) End Function
You mean this? if I change to strRoot = replace("/pubblic/") & "uploaded" strRoot = Server.MapPath(strRoot) & "\" & strFolder It's ok?