Solved

" local File UpLoad to remote server" How can i write the server-side Asp program to realize it??

Posted on 1998-05-06
6
226 Views
Last Modified: 2013-12-25
Now  I want to write a ASP progrm to realize "File UpLoad",I known IE4.0 or Netscape4.x browser
support the "Local File   Select" function,just use <input type="file">,Can it  send the whole file content
to the server? if it is true ,then how can i received it on server-side? Please tell me, thank you very much!
 
0
Comment
Question by:zhuzili
  • 3
  • 2
6 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 100 total points
ID: 1855736
You can't do it just like that, you'll need a server side component that is able to receive the file. There are some available for ASP. IIS4 has an inbuilt one (i haven't tried it). I have successfully used SA-FileUp from Softarisans (http://www.softartisans.com/).

You can download a free trial version there with examples included.

The good thing is that it can even upload files directly into a database.

0
 

Author Comment

by:zhuzili
ID: 1855737
More detail is better.
0
 
LVL 28

Expert Comment

by:sybe
ID: 1855738
If you need more details i can give some, but i think that the documentation with SA-FileUp is ok.


0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:zhuzili
ID: 1855739
I known some ActiveX control of server-side can do this thing.
Do you think the browser can assume the task "FileUpload"?
I have go to " mail.yahoo.com" and view the html source of its
 page. some code as follow
    <form name="attachments" entype"multipart/form-data" method
    ="post" action="/py/wmailAttach.py?Pyt=Tym&service=yahoo"
     target="fourllkiosk">
   <td rowspan=2><input name="userfile"     type="file"size=20>&nbsp;</td>
   .
   .
   . </form>
 it looks seem that the browser could finish the task "FlUpL"
  if i can select the correct encode type.of course the server-
  side progrm must be able to receive the whole file,using some
  Asp Component such as "File Access Component".
   is my thought correct?
    does the highest version internet browser support it?
  If i am wrong,please give me some documentation you mentioned    ,thank you very much !! my e-mail is zzl@gb.com.cn            
   
0
 

Author Comment

by:zhuzili
ID: 1855740
Mr Sybe:
            i have found the question from the website you
               gave me. thnak you!
0
 

Expert Comment

by:esak
ID: 2772269
If you are using IIS4 there is no need for another program or asp code.
The only thing you have to do is go to
the adres http://www.microsoft.com/msdownload/webpubwiz/postacc/01000.htm and download
Posting Acceptor v1.0 for Windows NT ,
install it and see the samples in folder
/wwwroot/scripts.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question