diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-02-14 22:57:42 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-02-14 22:57:42 +0000 |
commit | 5a99be254566758d8ff42d905cad98b1ee7a2e87 (patch) | |
tree | fc1661b871bdbcd45a6ca3c8a8206e0f9342022f /lib/ftp.c | |
parent | efb410a188fb7f5a9f1d572db1d98b5e3c790a83 (diff) |
updated to use the new set of progress-functions
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |