Re: Could I get the total size of the file? - WeOnlyDo Discussion board

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

by woddrazen, Tuesday, September 15, 2009, 10:59 (5547 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


Complete thread: