August 31, 2006 at 4:55 am
Let me say I have some 20 - 30 files in a location , say,
http://FTP.SERVER.COM and the path initially where the files are available is
say \PATH\. Now I have 20 files, say,
1. k1.txt
2. ds2.xls
3 . \inerpath\kn.jpg
4 . pr.zip
5. abc.lmn
.
.
.
.
20. an.klp
Now, I will select only 6 files say file No 1 ,4,
7,8 ,9 and 20. I to download these 6 files I have to loop through each
file to download files. Now I dont want the loop.I just want get into
the FTP task "once" and select only the above 6 files (As a string?) and download these files. Is this possible?
I can do this . \path\*.zip. This works. But the above problem is not working . Can anybody help?
Thanks,
Kiran
September 4, 2006 at 8:00 am
This was removed by the editor as SPAM
September 5, 2006 at 4:33 pm
regular old FTP has an MGET command that will allow you to fetch several files matching a pattern.
September 6, 2006 at 6:46 am
Ya, But this wont work out if the names of the files keep varying.
September 6, 2006 at 8:20 am
True, sounds like either you will need to have that directory cleaned out after you snag the files you want or you are going to have to keep a list of the files you have FTPd and parse a directory to see whats not on the list already.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply