mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
vsftpd shows total filesize, so I commented out addition.
I know that this is not correct for every server. Show me ftp sites, where resuming displays wrong filesize.
This commit is contained in:
parent
63d834c1d3
commit
77470526ba
@ -977,7 +977,9 @@ ftp_retr_file(struct socket *socket, struct read_buffer *rb)
|
|||||||
if (file_len > 0) {
|
if (file_len > 0) {
|
||||||
/* FIXME: ..when downloads resuming
|
/* FIXME: ..when downloads resuming
|
||||||
* implemented.. */
|
* implemented.. */
|
||||||
conn->est_length = file_len + conn->progress->start;
|
/* This is right for vsftpd.
|
||||||
|
* Show me urls where this is wrong. --witekfl */
|
||||||
|
conn->est_length = file_len; /* + conn->progress->start; */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user