j*****h 发帖数: 6 | 1 can some one show me how to make a file on web
downloadable?Do i need to use CGI script? can i write
in HTML?
the commend i found from this BBS:
href=/filename>file does not work. | m**********y 发帖数: 14 | 2 The simplest way is by putting your file inside a virtual
directory. Then
create a hyper link to your file Download.
But if you can
view this file in your browser (like *.txt, *.htm,
*.gif...), you need right
click and choose "save target as". In order to avoid this,
you need a ISAPI
or MTS (or whatever) running on your webserver. Every
request to your file,
you need to feed back a html header and the contents of your
file, so that
the clients will start to download.
【在 j*****h 的大作中提到】 : can some one show me how to make a file on web : downloadable?Do i need to use CGI script? can i write : in HTML? : the commend i found from this BBS: : href=/filename>file does not work.
| p*****e 发帖数: 58 | 3 Any file which is accessible by anonymous users (or login
users) are downloadable to those users. How to set files
downloadable depends on the type of the server. Set the
file readable to anonymous users (or specified groups of
login users) and put the file in an accessible directory.
【在 j*****h 的大作中提到】 : can some one show me how to make a file on web : downloadable?Do i need to use CGI script? can i write : in HTML? : the commend i found from this BBS: : href=/filename>file does not work.
| n**i 发帖数: 2 | 4
真钠?>) 的大作中提到: 】
Could you please make this clear ? how to feed back ? cgi ?
servlet ?
depend on webserver ? what kind of header ? how to output
the contents ?
Thanks a lot.
【在 m**********y 的大作中提到】 : The simplest way is by putting your file inside a virtual : directory. Then : create a hyper link to your file Download. : But if you can : view this file in your browser (like *.txt, *.htm, : *.gif...), you need right : click and choose "save target as". In order to avoid this, : you need a ISAPI : or MTS (or whatever) running on your webserver. Every : request to your file,
|
|