curl azure website ftps connection refused port 990 -


i trying deploy azure websites via ftps using curl. however, throws error stating

failed connect waws-prod-xxx-xxx-ftp.azurewebsites.windows.net port 990: connection refused.

however, same curl command works if use ftp instead of ftps.

@sam, according section 4.15 ftps doesn't work of curl faq, issue should caused ftps default port 990, still using port 21 on azure, please see explaination below.

curl supports ftps (sometimes known ftp-ssl) both implicit , explicit mode.

when url used starts ftps://, curl assumes implicit ssl on control connection , therefore connect , try speak ssl. ftps:// connections default port 990.

to use explicit ftps, use ftp:// url , --ftp-ssl option (or 1 of related flavours). common method, , 1 mandated rfc4217. kind of connection of course uses standard ftp port 21 default.

so please try add -k & --ftp-ssl options , use ftp url enable ssl curl command, example, curl -k --ftp-ssl -u '<webappname>\<username>:<password>' ftp://<hostname>.ftp.azurewebsites.windows.net/


Comments