Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wwftp - ftpsendfile()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00877680
Message ID:
00877694
Vues:
15
Paul,

Make sure that FTP transfer uses BINARY mode not ASCII.

>I am having a problem with a file being sent to an ftp site. I am using wwftp.ftpsendfile(). I create 2 text files, I use ZipMgr to zip up the 2 files into a zip file, and then use Rick Strahls product to send the zip file to an ftp site.
>
>Everything works fine until you try to open the zip file on the ftp site. It says the file might be corrupt or it's not a valid archive file. Since there is still a copy of the zip file on my computer, I tried opening it from my local hard drive and it opens fine. It's only after I send the file via ftp that I can no longer open the file.
>
>I don't know what else to try and need to get this working quickly. Any ideas?
>
>Thanks,
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform