I am using Rexx/Curl Version 1.3: 16 June 2005 - Windows binary version. I am using this with Regina 3.3.
I am having a problem using FTPSSL. The download did not have the SSL enabled libcurl, so I have rebuilt that for myself (version 7.14.1).
Now I can get https requests to work, but the ftps requests get rejected by the server - they never include the AUTH SSL request. It's possible that I've not understood the process correctly, so I am sending the rexx code. I've stripped all error checking to keep post small.
Call RxFuncAdd 'CurlLoadFuncs', 'rexxcurl', 'CurlLoadFuncs'
curl = CurlInit()
Call CurlSetOpt curl, 'VERBOSE', '1'
Call CurlSetopt curl, 'URL', 'ftp://192.168.0.207/testdir/'
Call CurlSetopt curl, 'USERPWD', 'xxxx:yyyy'
Call CurlSetopt curl, 'FTPPORT', '-'
Call CurlSetopt curl, 'FTPSSL', 'TRY'
Call CurlSetopt curl, 'FTPSSLAUTH', 'SSL'
Call CurlPerform curl
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.