How to download multiple ftp files for multiple folder leves

Files and folders downloader add-on with resume support.
Post Reply
rviancos
Posts: 2
Joined: Tue Mar 16, 2010 3:51 pm

How to download multiple ftp files for multiple folder leves

Post by rviancos »

Hi, i have a some question/problem

Mi track ID is 51680690 for the ca.gfchile.cl

We have developed a websystem to download files/folders from a remote ftp server.

Our web server is on http://ca.gfchile.cl (already registrated with JFileUpload) and we want to download several files on several folders from ftp://ftp.gfchile.cl

Mi code is here, and does't work

Code: Select all

.
.
.

  document.write('url="ftp://ftp.gfchile.cl" ');
  document.write('username="pg" ');
  document.write('password="*****" '); //this wilcards are for posting porpouses only
  document.write('param2="account" ');
  document.write('value2="./ca/" ');
   //Download ITEMS
  document.write('item1="Chile/JGalaz/Ikonos Pedernales.rar" ');
  document.write('item2="Peru/Cerro_Corona_Oxide_PFS/VECTOR-SCG Cerro Corona Risk 
  // End of Download ITEMS
Assessment Report 20100202.pdf" ');
  document.write('param3="pasv" ');
  document.write('value3="true" ');
  document.write('param4="relativefilename" ');
  document.write('value4="true" ');
  document.write('param5="ftpsession" ');
.
.
.
The apples says "NO FILE TO DOWNLOAD"
I have more than one level after the value of "account" parameter, in order to get the file... as you can see in my code...

I have tried many combinations, but without any Results

Regards

René Viancos
Development Consultant
GoldFields Explorations South America

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

Re: How to download multiple ftp files for multiple folder leves

Post by support »

We plan to add this feature in release 2.6. Could you drop an email to support(at)jfileupload(dot)com to get a testing version ?

rviancos
Posts: 2
Joined: Tue Mar 16, 2010 3:51 pm

Re: How to download multiple ftp files for multiple folder leves

Post by rviancos »

Email has been sent on yesterday, with no answer yet...

Regards

René Viancos

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

Re: How to download multiple ftp files for multiple folder leves

Post by support »

I've sent you the testing release.

You can setup each file to download over FTP such as:
<PARAM NAME="url" VALUE="ftp://localhost">
<PARAM NAME="item1" VALUE="yourfile1.zip">
<PARAM NAME="item2" VALUE="folder2/yourfile2.zip">
<PARAM NAME="item3" VALUE="folder3/sub/yourfile3.zip">
<PARAM NAME="item4" VALUE="yourfile4.mp3">

Notice that relativefilename and folderdepth parameter MUST NOT be used in this mode.

Post Reply