mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05: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) {
|
||||
/* FIXME: ..when downloads resuming
|
||||
* 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…
Reference in New Issue
Block a user