| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Multipart Download |
| raymng From: HK, USA Posts: 28 Member Since: 03/08/03 |
posted August 12, 2003 7:30 AM Is FTP activeX tool capable of doing multipart download ? Any existing sample program ? Thanks! Raymond |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 12, 2003 8:48 AM Please explain what you mean by "Multi-part" download. Are you referring to restarting and aborted download. I have never heard that term used in relation to FTP before. |
| raymng From: HK, USA Posts: 28 Member Since: 03/08/03 |
posted August 12, 2003 10:01 AM I mean downloading a single file in several smaller chunks simultaneously (similar to GetRight). |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 12, 2003 10:11 AM There's no built in code or sample code available, but it wouldn't be difficult. What you would do is use restart to start the transfer at a certain point, then abort the transfer when you have received the number of bytes you want. When done you would re-assemble the parts in the correct order. Tony |
| raymng From: HK, USA Posts: 28 Member Since: 03/08/03 |
posted August 12, 2003 10:22 AM Thank you! |
| chihchang From: wa, CA Vatican City State Posts: 14 Member Since: 12/05/03 |
posted December 5, 2003 3:12 AM How to control the number of bytes you want? If I want 1 - 100 bytes, but FTP control retrieve 102 bytes? Can I have some sample code? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 5, 2003 9:55 AM If the server supports restart, you can control the position at which the transfer starts. But you can't control how many bytes you get after that. The server just gives you the whole file. |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|