S
SQL
Hi all,
I'm trying to upload a file from the user to the server. I have set up a
folder on the server, and for testing sake, I've given full control to the
everyone group. My code is as follows (again for testing sake, I've
hardcoded a lot of stuff in): File1 being an input of type = file.
If Not (File1.PostedFile Is Nothing) Then
File1.PostedFile.SaveAs("\\monserv\inetpub\TestKnowledge\Upload\Test.txt")
End If
The code runs without error, but no file is uploaded. Am I missing
something?
Thanks.
I'm trying to upload a file from the user to the server. I have set up a
folder on the server, and for testing sake, I've given full control to the
everyone group. My code is as follows (again for testing sake, I've
hardcoded a lot of stuff in): File1 being an input of type = file.
If Not (File1.PostedFile Is Nothing) Then
File1.PostedFile.SaveAs("\\monserv\inetpub\TestKnowledge\Upload\Test.txt")
End If
The code runs without error, but no file is uploaded. Am I missing
something?
Thanks.