Hi, I'm trying to copy the uploaded files to a specific directory but failed, ASP.NET user has write permission on that directory, here is my code:
Protected Sub Uploader_FileUploaded(ByVal sender As Object, ByVal args As UploaderEventArgs) Handles Uploader1.FileUploaded
uploadcount += 1
Dim uploader As CuteWebUI.Uploader = DirectCast(sender, CuteWebUI.Uploader)
InsertMsg(
"File uploaded! " & args.FileName & ", " & args.FileSize & " bytes.")
'Copys the uploaded file to a new location.
args.CopyTo(
"E:\Projects\myproj\")
End Sub