Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Downloading files in prg
Message
De
14/07/2003 15:05:33
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00809084
Message ID:
00809960
Vues:
22
>>Hi Sergey,
>>That downloaded the file, but I'm trying to download an exe file, and when I try to run the downloaded file I get an error "not a valid win32 application".
>>Any other ideas?
>
>Bill,
>
>I would use a hex editor to see wht's the difference between original file and the one you downloaded. Maybe it would give you some clues what's wrong. You can also try David Frankenbach's code from http://www.geocities.com/df_foxpro/qgen008.htm. I use it to download files (not EXE's).

Frankenbach's code seems to work fine.

I have the same problem when I forget to upload my exe files in binary mode, because my default ftp is ascii. So when people download the exe files, they get a flash of a DOS window saying the exe can't be run in DOS mode.

So I'm guessing that the first method you gave me just downloads in ascii mode.

Thanks for the link.
Bill Morris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform