The free WinSCP application handles FTP, FTPS, SCP, SFTP, WebDAV and S3. It also has a COM-callable .NET assembly that you could use. It's usable from VBScript so I assume you could also use it directly from VFP, or use VBScript or Powershell from VFP etc.
https://winscp.net/eng/docs/library