what’s the best way to send a file with FTP?
If you are in production you should be using ftps or sftp, in which case the Chilkat Extensions (FTP, which includes FTPS, and SFTP) are what we use.
Unprotected FTP servers will be probed within 30 seconds of being put up, from what I’ve seen on our servers.
If you need a protected FTP Server, you can monkey around with IIS and waste many hours, or you can get Cerberus, which is easy to use and just keeps working.
the Chilkat Extensions are from chilkatsoft.com, by subscription. They are available (for one price) for just about every platform. In addition to the FTP/S and SFTP controls, we use their email, zip, and http and Crypt controls. The http control is used from our VFP-based app to hit a Lianja web service, for example.
You can find “free” versions of controls that do most of the same stuff. The difference is in having control of all the features you need to match what your customers are using, and in the fantastic support (as good as Barry’s, almost as fast <s>). Also, many of the common usages have been “conceptualized” into an easy-to-use command that makes complex tasks easy. I’ve saved a couple of projects and hundreds of hours since I started using them for, I think, the past 10 years or so.
In one case we needed FTPS before it was common (we were working with a casino, with enhanced security needs). I wrote Matt at Chlkat explaining our need. He said if I’d set up a server he’d write it. We did, and he did, just like that.