Re: Could I get the total size of the file? (General questions)
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:
- Could I get the total size of the file? - tim, 2009-09-15, 10:28
- Re: Could I get the total size of the file? - woddrazen, 2009-09-15, 10:59
- Re: Could I get the total size of the file? - tim, 2009-09-16, 05:43
- Re: Could I get the total size of the file? - wodDamir, 2009-09-16, 09:08
- Re: Could I get the total size of the file? - tim, 2009-09-16, 09:32
- Re: Could I get the total size of the file? - wodDamir, 2009-09-16, 09:41
- Re: Could I get the total size of the file? - tim, 2009-09-16, 09:32
- Re: Could I get the total size of the file? - wodDamir, 2009-09-16, 09:08
- Re: Could I get the total size of the file? - tim, 2009-09-16, 05:43
- Re: Could I get the total size of the file? - woddrazen, 2009-09-15, 10:59