View Full Version : Multiple downloads from a FTP server
dwenco
08-22-2008, 05:25 PM
Hi,
Is it possible to download multiple files from a FTP server without knowing their names? I know that we can do a file download using File.Copy(_SourceFolder.."\\*.*", _TempFolder .. "\\Text Files", false), but if I use "*.*" for FTPWI.download it does not work.
Thanks a lot in advance.
jassing
08-22-2008, 07:03 PM
No, in TrueUpdate -- there is no way to do this.
Do you have SUF8?
I haven't tested it; but SUF8 has an FTP Plugin that has FTP.List() which returns a table of files...
the plugin may work in TU -- let me know if you want me to try it and report back...
dwenco
08-22-2008, 08:28 PM
Thanks a lot for the prompt response Jassing.
No I don't have SUF8, and actually I am using a trial verion of TU. I read somewhere in the forum that FTP Plugin is included in TU once you've made the purchase so I am guessing that the ftp.list should work. Even with the FTP.List it's a bit tedious though. I was hoping that something like file.copy(*) would work for FTP.
Thank you!
jassing
08-22-2008, 08:45 PM
No I don't have SUF8, and actually I am using a trial verion of TU. I read somewhere in the forum that FTP Plugin is included in TU once you've made the purchase so I am guessing that the ftp.list should work. Even with the FTP.List it's a bit tedious though. I was hoping that something like file.copy(*) would work for FTP.
try getting the SUF8 trial...
I have TrueUpdate 3 -- no ftp plugin in my purchase...
If using ftp.list is tedious, you must not be a programmer... ;-)
dwenco
08-22-2008, 11:11 PM
Thanks! That's a good idea :)
I am a programmer, just not a good one :eek:
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.