Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wwftp - ftpsendfile()
Message
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00877680
Message ID:
00877694
Views:
16
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform