shashi2309
01-13-2009, 11:39 AM
Hi,
I want to know that whether do we have any direct API method wherein we can retrieve set of files recursively from a remote directory.
Example.
Remote Dir structure
DIR1
File.txt
DIR2
File1.txt
DIR3
File2.txt
Local Dir structure
LDIR1
File.txt
File1.txt
File2.txt
If I want to retrieve all *.txt from the remote dir DIR1 in recursive mode (searching all subdirectories) and then put the files in a flat structure on the local side in LDIR1
I know we have downloadDir which downloads remote directory and contents recursively from FTP server but in this the downloads are stored relative to current local directory.
Please suggest.
I want to know that whether do we have any direct API method wherein we can retrieve set of files recursively from a remote directory.
Example.
Remote Dir structure
DIR1
File.txt
DIR2
File1.txt
DIR3
File2.txt
Local Dir structure
LDIR1
File.txt
File1.txt
File2.txt
If I want to retrieve all *.txt from the remote dir DIR1 in recursive mode (searching all subdirectories) and then put the files in a flat structure on the local side in LDIR1
I know we have downloadDir which downloads remote directory and contents recursively from FTP server but in this the downloads are stored relative to current local directory.
Please suggest.