aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-02-14 22:57:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-02-14 22:57:42 +0000
commit5a99be254566758d8ff42d905cad98b1ee7a2e87 (patch)
treefc1661b871bdbcd45a6ca3c8a8206e0f9342022f /lib/ftp.c
parentefb410a188fb7f5a9f1d572db1d98b5e3c790a83 (diff)
updated to use the new set of progress-functions
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index da67ecb86..e3da49179 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -752,7 +752,10 @@ UrgError _ftp(struct UrlData *data,
/* When we know we're uploading a specified file, we can get the file
size prior to the actual upload. */
+ pgrsSetUploadSize(data, data->infilesize);
+#if 0
ProgressInit(data, data->infilesize);
+#endif
result = Transfer(data, -1, -1, FALSE, NULL, /* no download */
data->secondarysocket, bytecountp);
if(result)
@@ -999,7 +1002,10 @@ UrgError _ftp(struct UrlData *data,
}
/* end of transfer */
+#if 0
ProgressEnd(data);
+#endif
+ pgrsDone(data);
/* shut down the socket to inform the server we're done */
sclose(data->secondarysocket);