projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eccd0d8
)
Christophe Legry's fix to grok time-conditoned uploads
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 5 Apr 2005 20:59:12 +0000
(20:59 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 5 Apr 2005 20:59:12 +0000
(20:59 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
3967d11
..
f91d2fd
100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-2820,7
+2820,8
@@
CURLcode Curl_ftp_done(struct connectdata *conn, CURLcode status)
if(data->set.upload) {
if((-1 != data->set.infilesize) &&
(data->set.infilesize != *ftp->bytecountp) &&
- !data->set.crlf) {
+ !data->set.crlf &&
+ !ftp->no_transfer)) {
failf(data, "Uploaded unaligned file size (%" FORMAT_OFF_T
" out of %" FORMAT_OFF_T " bytes)",
*ftp->bytecountp, data->set.infilesize);