aspupload

Discussion in 'Third-party applications' started by needrepairn, Dec 19, 2003.

  1. Has anybody used this? It looks great, but I would be interested to know how you specify where the file is placed? Do you need to put the page in the folder where you want the file to end up? Has anyone created a page including a login so not just anybody can upload to their site?
     
  2. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

  3. Yes. What does it do? Does it offer a secure login, allow you to select the file to upload and place it where you want on your site?

    <HTML>

    <%
    Set Upload = Server.CreateObject("Persits.Upload")
    count = upload.savevirtual ("/aspupload")
    Response.Write Count & " file(s) uploaded"
    %>
    </BODY>
    </HTML>



    --------------------------------------------------------------------------------


    Form Upload Page

    <html>
    <head>
    </head>

    <form action="aspupload1.asp" method="post" enctype="multipart/form-data">
    <input type="file" size="40" name="FILE1" />

    <input type="submit" value="Upload!" />
    </form>
    </body>
    </html>
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    ASPUpload is an COM object that allow you to upload a file from your visitor's workstation to the server.

    ASPUpload is not a full blown application but rather it is a component that enable you to build a upload app.

    quote:Originally posted by needrepairn

    Yes. What does it do? Does it offer a secure login, allow you to select the file to upload and place it where you want on your site?

    <HTML>

    <%
    Set Upload = Server.CreateObject("Persits.Upload")
    count = upload.savevirtual ("/aspupload")
    Response.Write Count & " file(s) uploaded"
    %>
    </BODY>
    </HTML>



    --------------------------------------------------------------------------------


    Form Upload Page

    <html>
    <head>
    </head>

    <form action="aspupload1.asp" method="post" enctype="multipart/form-data">
    <input type="file" size="40" name="FILE1" />

    <input type="submit" value="Upload!" />
    </form>
    </body>
    </html>

    </blockquote id="quote"></font id="quote">
     

Share This Page