It is possible to download a file from remote server ???

Files and folders downloader add-on with resume support.
Post Reply
arebhai
Posts: 2
Joined: Wed Jan 13, 2010 1:34 pm

It is possible to download a file from remote server ???

Post by arebhai »

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. :P

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: It is possible to download a file from remote server ???

Post by support »

Sure.

Use "url" parameter in applet to refer the second web site.

arebhai
Posts: 2
Joined: Wed Jan 13, 2010 1:34 pm

Re: It is possible to download a file from remote server ???

Post by arebhai »

Thankx for ur kind rply.
but still i can't able to fix it. :(
And i m very much confused how to fix it. :roll: :cry:
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>

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: It is possible to download a file from remote server ???

Post by support »

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">

Post Reply