hansoctantan wrote:
But when I'm using Dim cl As Long = response.ContentLength and displaying its value to MsgBox the value is -1, but the size of a file when download is finish the size is the same as in FTP Server.A
That's correct, since you haven't downloaded any data yet.
You should use the
GetFileSize[
^] field to know in advance the selected file size.