Re: Could I get the total size of the file? (General questions)

by woddrazen, (5709 days ago) @ tim

Hi Tim,


If you want to retrieve size of file on remote server you can use wodFtpDLX GetSize Method.

Here is example how to use GetSize Method:
----------------------------------------------------
dlx1.GetSize /home/something/somefile.txt
----------------------------------------------------

You can then receive result in Attributes Event using Size variable. If you are using blocking mode you can receive it in ListItem Property.

More help for GetSize Method you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~GetSize.html

Let us know how it goes.


Regards,
Drazen

locked

Complete thread: