Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for ASP
»
Re: folder for each user to upload
Re: folder for each user to upload
07-11-2008, 11:12 AM
JFRanger
Joined on 02-24-2006
Montreal, Canada
Posts 33
Re: folder for each user to upload
Reply
Quote
'
check if user folder exist, if not create it!
userPath= "D:\wwwroot\myApp\uploads\" & IDUSER & "\"
Set fso = CreateObject("Scripting.FileSystemObject")
If Not fso.FolderExists(userPath) Then
Set createMyFolder = fso.CreateFolder(userPath)
end if
set fso = nothing
' tell CE the upload path!
editor.ImageGalleryPath = "/uploads/" & IDUSER & "/documents"
editor.MediaGalleryPath = "/uploads/" & IDUSER & "/documents"
editor.FlashGalleryPath = "/uploads/" & IDUSER & "/documents"
editor.FilesGalleryPath = "/uploads/" & IDUSER & "/documents"
View Complete Thread