> curl --ftp-ssl -T "/Users/Cannon/Desktop/test.zip" -u “install:redacted" 
> "ftp://install.herdly.cloud/install/"; --connect-timeout 5

translates to something like

$path:=System folder(Desktop)+"test.zip"

C_OBJECT($options)

OB SET($options;\
"URL";"ftps://install.herdly.cloud/install/test.zip";\
"USERNAME";"install";"redacted";"pass";"CONNECTTIMEOUT";5)

$createMissingDir:=1

$error:=cURL_FTP_Send (JSON Stringify($options);$path;$createMissingDir)

---

the local path is not POSIX. (this is mandatory)
the remote path includes the file name (it might work either way, haven't 
tested)



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to