Curl-ftp

Curl-Ftp is compatible Mac OSX 10.14.5 (Mojave)?

I think the code signature has expired yesterday.

you could download 2.18, or remove the code sign, or even sign it yourself…

Thank you!

:mrgreen:

Hello Miyako

We are testing your plugin curl-ftp to connect to an ftp server via ftps.
There are some problems to download big files and also to delete files on the ftp server.

Usually we download 4MB files, this works fine. But sometimes we have to load 60MB files.
The download of the big files ends with error 28 (time out) but the file is correctly downloaded.

To delete a file on the ftp server we have to manipulate the original file name from
hello.cvs to hhello.cvss
It sounds strage but it works with the 4MB files. Try to delete a 60MB file get an error 6

Perhaps there are some missing options? Please see the calls

//delete
$FileName:=$zzDocNames{$i}
//!!!Hier das Plugin-Workaround!!!
$FileName:=$FileName[1]+$FileName+$FileName[Length($FileName)]

$URL:=‘ftp://’+$ftpsURL+$FileName
OB SET($options;‘URL’;$URL;‘USERNAME’;$user;‘PASSWORD’;$pass)
OB SET($options;‘SSL_VERIFYPEER’;0)
OB SET($options;‘SSL_VERIFYHOST’;0)
OB SET($options;‘USE_SSL’;‘USESSL_TRY’)

$error:=cURL_FTP_Delete (JSON Stringify($options))

//download
$URL:=‘ftp://’+$ftpsURL+$FileName
OB SET($options;‘URL’;$URL;‘USERNAME’;$user;‘PASSWORD’;$pass)
OB SET($options;‘SSL_VERIFYPEER’;0)
OB SET($options;‘SSL_VERIFYHOST’;0)
OB SET($options;‘USE_SSL’;‘USESSL_TRY’)

$error:=cURL_FTP_Receive (JSON Stringify($options);$ReceifePfad;0)

Thank you for the great work

First, please make sure you are using the latest release (not the plugin preinstalled with the sample DB)

a release can be found here:

https://github.com/miyako/4d-plugin-curl-ftp/releases

and remember to always specify the version and platform.

if you are really serious about getting this fixed,
you might want to consider setting up a test FTP account
and send me a functional DB that reproduces the issue.
(you know how to contact me)

otherwise, with just code snippets and screenshots,
I must assume that you just want to have an interesting conversation with the community.

sorry for the missing system info…

WIN 10 Pro 1903 build 18362.175

4D V16R6, V17, V17r4; V17.2 all 64bit

cURL_FTP release 2.18

I use
cURL_FTP_GetGirList, cURL_FTP_Receive, cURL_FTP_Delete

In V16R6 I have tested files up to 15MB and it works (with a workaround)

In V17 V17r4 V17.2 I get errors, only cURL_FTP_GetGirList works

I contact the provider to get a test FTP account and to see that on the server side is all ok.