#include "urldata.h"
#include <curl/curl.h>
-#include "download.h"
+#include "transfer.h"
#include "sendf.h"
#include "progress.h"
word
);
- result = Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
-1, NULL); /* no upload */
if(result)
word
);
- result = Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
-1, NULL); /* no upload */
if(result)
"QUIT\n",
ppath);
- result = Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
-1, NULL);
if(result)
#include "urldata.h"
#include <curl/curl.h>
-#include "highlevel.h"
+#include "transfer.h"
#include <curl/types.h>
#define _MPRINTF_REPLACE /* use our functions only */
#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"
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;
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)
#include "urldata.h"
#include <curl/curl.h>
-#include "download.h"
+#include "transfer.h"
#include "sendf.h"
#include "formdata.h"
#include "progress.h"
data->request_size =
add_buffer_send(data->firstsocket, conn, req_buffer);
- result = Transfer(conn, data->firstsocket, -1, TRUE,
+ result = Curl_Transfer(conn, data->firstsocket, -1, TRUE,
&http->readbytecount,
data->firstsocket,
&http->writebytecount);
add_buffer_send(data->firstsocket, conn, req_buffer);
/* prepare for transfer */
- result = Transfer(conn, data->firstsocket, -1, TRUE,
+ result = Curl_Transfer(conn, data->firstsocket, -1, TRUE,
&http->readbytecount,
data->firstsocket,
&http->writebytecount);
add_buffer_send(data->firstsocket, conn, req_buffer);
/* HTTP GET/HEAD download: */
- result = Transfer(conn, data->firstsocket, -1, TRUE, bytecount,
+ result = Curl_Transfer(conn, data->firstsocket, -1, TRUE, bytecount,
-1, NULL); /* nothing to upload */
}
if(result)
#include "urldata.h"
#include <curl/curl.h>
-#include "download.h"
+#include "transfer.h"
#include "sendf.h"
#include "formdata.h"
#include "progress.h"
#include "ssluse.h"
#include "hostip.h"
#include "if2ip.h"
-#include "download.h"
+#include "transfer.h"
#include "sendf.h"
#include "getpass.h"
#include "progress.h"
conn->curl_do = file;
/* no done() function */
- result = Transfer(conn, -1, -1, FALSE, NULL, /* no download */
+ result = Curl_Transfer(conn, -1, -1, FALSE, NULL, /* no download */
-1, NULL); /* no upload */
return CURLE_OK;