upload files with ASP+

Results 1 to 4 of 4

Thread: upload files with ASP+

  1. #1
    steve schofield Guest

    Default upload files with ASP+

    any info on uploading files from ASP+.

  2. #2
    Mike Perry Guest

    Default RE: upload files with ASP+

    From what I saw at the PDC, ASP+ has file uploading built into the object model. I can&#039t remember the specifics, and I just installed the pre-beta last night and haven&#039t had time to play with it yet.

  3. #3
    Join Date
    Dec 1969

    Default RE: upload files with ASP+

    File Uploading is indeed built into ASP+ (no more posting acceptor). You can take advantage of it through two ways:<BR><BR>1) The new Request.Files collection. This works like Request.QueryString and Request.Form, expect that the dictionary value is not a string -- but an object containing the posted file. You can either access the file using this object as raw bytes -- or use its "saveas" method to save it to disk.<BR><BR>For example:<BR><BR>Request.Files("MyFile").SaveAs("c: serverfile.txt")<BR><BR>2) There is also a new built-in file upload server control that encapsulates much of the above functionality. You can declare it within a page like:<BR><BR>&#060;input id="Myfile" type=file runat=server&#062;<BR><BR>and then program against it:<BR><BR>Myfile.PostedFile.SaveAs("c:serverfile. txt")

  4. #4
    weeni Guest

    Default RE: upload files with ASP+

    HI <BR><BR> just want to know that with request.file.saveas method or with new componenet can we save the files in various formats like .xls or .doc or .rtf etc etc<BR><BR>Thanx<BR>Weeni<BR><BR>Weeni@talk21.com< BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts