How to upload whole files with ASP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #16
    Originally posted by danp129
    Hate to bump old stuff but saw new referral to this thread...

    Using FSO is slow and resource intensive. I would recommend something that uses adodb.stream object for writing the files. I'm fairly certain it gets around the size issue and it's MUCH faster and less CPU intensive.

    http://www.taka.nl/programming/asp/comparing_fileu pload.asp

    If you look at that chart you can see a speed comparison of using FSO vs ADO stream. FSO being 'ASP Emporium' and 'ASP101'.
    I tried to get ado.stream going earlier because obviously the fso isn't the right way to go, I just couldn't ever get it to work, and since ASP really is a dying technology, I was happy to leave it at that.

    The size limitations we ran into all seemed to be in regards to the upload process, so I'm hesitant to think switching to ado.stream would make any difference with that issue.

    Jared

    Comment

    • danp129
      Recognized Expert Contributor
      • Jul 2006
      • 323

      #17
      I know at least one pure script one that used ADO I tried worked w/o modifying IIS.

      Comment

      • jhardman
        Recognized Expert Specialist
        • Jan 2007
        • 3405

        #18
        Originally posted by danp129
        I know at least one pure script one that used ADO I tried worked w/o modifying IIS.
        Do you have a code snippet or a link?

        Jared

        Comment

        • tyshakem
          New Member
          • Aug 2018
          • 1

          #19
          I really thank you!
          You can't imagine how usefull your code was! now I get how it Works
          Even you introduce me to the metadata thing
          For real Thank you

          Comment

          Working...