Tag: cURL

RPC failed; curl 18 transfer closed with outstanding read data remaining

When I tried to clone a decently-huge git repository I got the error below. The most common issue is that the connection closes and the whole clone is cancelled.

After a lot of trial and errors and a lot of “remote end hung up unexpectedly” I have a way that works for me.

Continue reading

RPC failed; curl 55 OpenSSL SSL_write: Connection was aborted, errno 10053

When tried to execute git push I got the following error: RPC failed; curl 55 OpenSSL SSL_write: Connection was aborted, errno 10053 The full error message:

Continue reading

How to traverse FTP directories with CURL

When doing FTP commands to traverse the remote file system, there are a few different ways cURL can proceed to reach the target file, the file the user wants to transfer. multicwd cURL can do one change directory (CWD) command for every individual directory down the file tree hierarchy. If the full path is one/two/three/file.txt, …

Continue reading

How to upload a file to remote FTPS with cURL and PHP

You may need to upload a file to remote FTP or FTPS in a number of cases. In this article I’m going to show you how to upload file with cURL from Linux shell and using cURL in PHP.

Continue reading