File Upload

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: SQL (nospam_at_asdfadsf.com)
Date: 02/09/04


Date: Mon, 9 Feb 2004 12:33:21 -0500

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.



Relevant Pages

  • Re: Navigation Buttons will not work on website
    ... using the file manager from GoDaddy to upload, and if it is like mine it ... I thought about your suggestion about uploading the folder but was not ... Go back to the original publisher file ... Delete all the files that you put on the server, ...
    (microsoft.public.publisher.webdesign)
  • RE: Document managment in .NET
    ... application and chose to save to folder. ... I left the antivirus check to the file level scanner on the server, ... user will upload the document form here. ... Saving a document (in a folder on webserver or in Sql server) ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Navigation Buttons will not work on website
    ... I will say though that I use a Windows server to host my site, ... and it is the default for Publisher. ... Why not upload the whole support folder intact, ...
    (microsoft.public.publisher.webdesign)
  • Re: Upload Form doesnt work-Something is Missing
    ... it must be on a windows IIS server. ... Microsoft MVP - FrontPage ... | upload page properties instead of the FOLDER properties. ... In the Folder ...
    (microsoft.public.frontpage.client)
  • RE: Document managment in .NET
    ... You can set the permissions through web.config file or at the folder level. ... user will upload the document form here. ... from the client to the webserver server over a webservice. ... Saving a document (in a folder on webserver or in Sql server) ...
    (microsoft.public.dotnet.distributed_apps)