Connecting Tech Pros Worldwide Forums | Help | Site Map

download/upload file to/from server

Member
 
Join Date: Mar 2009
Location: India
Posts: 52
#1: Mar 7 '09
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 ?

Newbie
 
Join Date: Mar 2009
Posts: 3
#2: Mar 7 '09

re: download/upload file to/from server


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.
Member
 
Join Date: Mar 2009
Location: India
Posts: 52
#3: Mar 8 '09

re: download/upload file to/from server


okay, thank you........
i'll try and understand a script..or post back here
jhardman's Avatar
Moderator
 
Join Date: Jan 2007
Location: logan, utah
Posts: 2,690
#4: Mar 9 '09

re: download/upload file to/from server


Quote:

Originally Posted by grotgod View Post

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
Reply