| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Corrupt images |
| merlin From: St Leonards-on-Sea, USA Posts: 3 Member Since: 07/14/02 |
posted July 14, 2002 5:48 PM Probably something simple I'm doing wrong. I'm looping through a directory and uploading image files. However many of them are corrupted (maybe only partial uploads?). Any help very appreciated. Code is below. FileFinder = Dir(TxtImages.Text & Text1.Text & "\") 'Where to look for. Do Until FileFinder = "" Ftp1.StoreType = 0 Ftp1.Store FileFinder, TxtImages.Text & "\" & Text1.Text & "\" & FileFinder, 0 FileFinder = Dir Loop |
| xatef From: Toronto, ON USA Posts: 6 Member Since: 07/12/02 |
posted July 15, 2002 1:04 AM modify Ftp1.StoreType = 0 to Ftp1.StoreType = 1 |
| merlin From: St Leonards-on-Sea, USA Posts: 3 Member Since: 07/14/02 |
posted July 15, 2002 7:47 AM Thanks for the reply. Didn't seem to make any difference though. Maybe even a little worse... |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 15, 2002 8:57 AM I think he meant Ftp1.Type = 1. You probably have Type set to 0, which is Ascii Mode. You want 1, which is image ( or binary ) |
| merlin From: St Leonards-on-Sea, USA Posts: 3 Member Since: 07/14/02 |
posted July 15, 2002 8:58 AM May well have a point there. It's always the obvious stuff that's easy to miss. Thanks I'll try it |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|