Re: folder for each user to upload

  •  07-11-2008, 11:12 AM

    Re: folder for each user to upload

               ' 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