AppWorx, Dollar Universe and Sysload Community

  • 1.  Using Curl to FTP over TLS

    Posted Sep 08, 2017 04:31 PM

    We are a DNA client using AM Version 9.1.3.  We have several files that we use cURL to FTP.  One site recently enacted a new security protocol that is no longer allowing FTP. However, we are able to manually transfer the files using FTP over TLS.  I know cURL can do this in AM, but I can't seem to get it to do this.   I suspect that our cURL is out of date.  Does anyone out there use cURL in AM to FTP files over TLS?  If so, could you tell me what version of cURL you are on? 

    Thank you,
    -Curtis



  • 2.  Using Curl to FTP over TLS

    Posted Sep 11, 2017 12:51 PM
    Did you get the certificate from the ftp server using TLS?
    You might have to use the additional cURL options:

    --cacert <file>
    --capath <dir>
    --cert-status
    --cert-type <type>
    -E, --cert <certificate[:password]>




  • 3.  Using Curl to FTP over TLS

    Posted Sep 13, 2017 02:02 PM

    We could transfer files with FileZilla using FTP over TLS and that's what we were trying to replicate.  We have found a solution. 

    Our cURL issue turned out to be two fold.  (1) We added cURL option --ftp-ssl.  However we then ran into a certificate issue.  (2) The certificate we had (and they need) was not sufficient.  We were missing some intermediate level certificate.  I'm not sure what specific certificate, as we added quite a few in one shot while troubleshooting. 

    Thank you for your help!