diff options
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -67,7 +67,7 @@ #include "if2ip.h" #include "hostip.h" #include "progress.h" -#include "download.h" +#include "transfer.h" #include "escape.h" #include "http.h" /* for HTTP proxy tunnel stuff */ #include "ftp.h" @@ -1110,7 +1110,7 @@ CURLcode _ftp(struct connectdata *conn) Curl_pgrsSetUploadSize(data, data->infilesize); - result = Transfer(conn, -1, -1, FALSE, NULL, /* no download */ + result = Curl_Transfer(conn, -1, -1, FALSE, NULL, /* no download */ data->secondarysocket, bytecountp); if(result) return result; @@ -1339,7 +1339,7 @@ CURLcode _ftp(struct connectdata *conn) infof(data, "Getting file with size: %d\n", size); /* FTP download: */ - result=Transfer(conn, data->secondarysocket, size, FALSE, + result=Curl_Transfer(conn, data->secondarysocket, size, FALSE, bytecountp, -1, NULL); /* no upload here */ if(result) |