Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    2

    Unanswered: Upload Files are Corrupted

    I wrote a application (Pure ASP Code) to upload the file from client PC to web server (NT 2000) . It works with no error, but when I open the uploaded files, the files are corrupt except the extension is "txt" (text file).
    It also works other two web servers (NT 2000) but the uploaded files are not corrupted.
    Why the files are corrupted??

  2. #2
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032

    Re: Upload Files are Corrupted

    Originally posted by annieckl
    I wrote a application (Pure ASP Code) to upload the file from client PC to web server (NT 2000) . It works with no error, but when I open the uploaded files, the files are corrupt except the extension is "txt" (text file).
    It also works other two web servers (NT 2000) but the uploaded files are not corrupted.
    Why the files are corrupted??
    Don't know but if you're wanting to try another solution here is a resource for letting the user upload a file which is something that was unfortunately not built into ASP:

    ASP File Upload Using VBScript by John R. Lewis - 7/10/2000
    http://www.aspzone.com/articles/john/aspUpload
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

Posting Permissions

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