It is possible to download a file from remote server ??? (It's urgent .. plz rply asap)
we have configured the j-file upload in one server (ex. http://abc.com).
Now we want to download all the download file from another server (Ex. http://xyz.com).
Is it possible ??
Any one plz help.
Thankx in advance.
It is possible to download a file from remote server ???Re: It is possible to download a file from remote server ???Sure.
Use "url" parameter in applet to refer the second web site. Re: It is possible to download a file from remote server ???Thankx for ur kind rply.
but still i can't able to fix it. And i m very much confused how to fix it. will you plz tell me elaborately what to do? i will wait for ur kind rply. i have used this code:: plz see it .... <APPLET CODE="jfileupload.upload.client.MApplet.class" JAVA_CODEBASE="./" ARCHIVE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/download.jar" WIDTH="480" HEIGHT="110" NAME="fileupload"> <PARAM NAME="regfile" VALUE="license.oxw"> <PARAM NAME="transferuiparam1" VALUE="regfile"> <PARAM NAME="transferuivalue1" VALUE="download.oxw"> <PARAM NAME=CODE VALUE="jfileupload.upload.client.MApplet.class"> <PARAM NAME=CODEBASE VALUE="./"> <PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/download.jar"> <PARAM NAME=NAME VALUE="fileupload"> <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4"> <PARAM NAME="scriptable" VALUE="true"> <PARAM NAME="url" VALUE="http://abc.com/dave/process.php?val8='/ ... oad/mn.zip'"> <param name="item1" value="'.basename($pfiles).'"> <PARAM NAME="param2" VALUE="relativefilename"> <PARAM NAME="value2" VALUE="true"> <PARAM NAME="folderdepth" VALUE="-1"> <PARAM NAME="resume" VALUE="true"> <PARAM NAME="overwrite" VALUE="false"> <param name="forward" value="http://www.xyz.com/dave/successmessage. ... e($pfiles).'"> <PARAM NAME="encoding" VALUE="ISO-8859-1"> <PARAM NAME="transferui" VALUE="jfileupload.download.ui.DownloadTransferUI"> <PARAM NAME="resources" VALUE="i18n_bar"> <PARAM NAME="transferuiresources" VALUE="i18n_pane"> <PARAM NAME="mode" VALUE="jfileupload.download.http.HTTPDownloadTransfer"> </APPLET> Re: It is possible to download a file from remote server ???Assuming that $uploaddir="/home/pqr/public_html/" in process.php then:
<PARAM NAME="url" VALUE="http://abc.com/dave/process.php"> <PARAM NAME="item1" value="mn.zip"> <PARAM NAME="param6" VALUE="account"> <PARAM NAME="value6" VALUE="download"> |