Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

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

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
zhuzili
Asked:
zhuzili
  • 3
  • 2
1 Solution
 
sybeCommented:
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
 
zhuziliAuthor Commented:
More detail is better.
0
 
sybeCommented:
If you need more details i can give some, but i think that the documentation with SA-FileUp is ok.


0
Technology Partners: 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!

 
zhuziliAuthor Commented:
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
 
zhuziliAuthor Commented:
Mr Sybe:
            i have found the question from the website you
               gave me. thnak you!
0
 
esakCommented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now