Hi.
I'm making a program with VB6: I need to download a large number of files from FTP (arround 1000), each 108 bytes long.
For this purpose, I used the Internet Transfer Control.
I'm doing it in the following way:
1. Connect to FTP server
2. LS command to get name of files
3. GET command for each file returned by LS (For loop)
4. DELETE command for each file (For loop)
5. Quit FTP
The problem is that the process is TOO SLOW! It tooks AGES to download very small files. It looks like it spends more time sending and receiving commands than downloading files. Is there a way to faster the download? Maybe, may I type something like "GET *.*" and "DELETE *.*"? Is the ITC the only solution, or is there any other control/API I can use?
Thanks very much for your help.
--
Lorenzo
I'm making a program with VB6: I need to download a large number of files from FTP (arround 1000), each 108 bytes long.
For this purpose, I used the Internet Transfer Control.
I'm doing it in the following way:
1. Connect to FTP server
2. LS command to get name of files
3. GET command for each file returned by LS (For loop)
4. DELETE command for each file (For loop)
5. Quit FTP
The problem is that the process is TOO SLOW! It tooks AGES to download very small files. It looks like it spends more time sending and receiving commands than downloading files. Is there a way to faster the download? Maybe, may I type something like "GET *.*" and "DELETE *.*"? Is the ITC the only solution, or is there any other control/API I can use?
Thanks very much for your help.
--
Lorenzo