download/upload file to/from server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aashishn86
    New Member
    • Mar 2009
    • 51

    download/upload file to/from server

    Hi!! I have to make a asp page, in which a user can upload his file to the server and download it when required...
    can someone tell me how can i do it ??
    i read the article at "How to upload whole files with ASP"
    but couldn't understand it ......... specially the delimiter part..
    is there an alternative ?
  • grotgod
    New Member
    • Mar 2009
    • 3

    #2
    Hi aashishn86;

    The quick answer is that ASP Classic does not have a native (built-in) component to upload or download files to the server.

    To do this you have to use a third party component or write your own.

    There are a number of companies that provide such software and if you do a Google search you will certainly find them.

    Before you decide which one you would like to use though (bearing in mind that some are free and others are not), you should take a look at what components your hosting service has installed. (Assuming that the app you are building will eventually be published to the web.) It is generally a good idea to duplicate the services in the live environment on your development server.

    Most of the third party components ship with fairly decent help files and manuals, so once you have downloaded and installed it, it's usually easy to get up and running.

    Comment

    • aashishn86
      New Member
      • Mar 2009
      • 51

      #3
      okay, thank you........
      i'll try and understand a script..or post back here

      Comment

      • jhardman
        Recognized Expert Specialist
        • Jan 2007
        • 3405

        #4
        Originally posted by grotgod
        Hi aashishn86;

        The quick answer is that ASP Classic does not have a native (built-in) component to upload or download files to the server.

        To do this you have to use a third party component or write your own.
        grotgod,

        The point of the "How to upload whole files with ASP" article (which I wrote) was to say that you didn't need a third-party component, it can be handled with just classic ASP. There is no hard set-in-stone limit to ASP's capability, you just need to write it yourself.

        aashishn86,

        The part about the delimiter in the article was just trying to explain how a user's browser sends form data to the server. It separates each form input (whether a text input or a select drop down, or file input or whatever) with a string of characters that appear arbitrary to me. The script I wrote in the article first figures out what that string is (because it's not always the same), then searches through all the submitted data for that string because each input starts with it. Does this make sense? Please let me know if there is anything else that was hard to understand.

        Jared

        Comment

        Working...