Re: Filesize - WeOnlyDo Discussion board

Re: Filesize (General questions)

by woddrazen, Friday, March 12, 2010, 09:11 (5371 days ago) @ MWilson22000

Hi,


You can request remote server file size using GetAttributes Method. Result will be received inside Attributes Event in Size parameter.
[code]Sftp1.GetAttributes( /home/something/somefile.txt )

Private Sub Sftp1_AttributesEvent(ByVal Sender As Object, ByVal Args As WeOnlyDo.Client.SFTP.AttributesArgs) Handles Sftp1.AttributesEvent
MsgBox(Args.Size)
End Sub[/code]
Let us know how it goes.


Regards,
Drazen


Complete thread:

 

  • Filesize - MWilson22000, 2010-03-12, 00:39 [*]
    • Re: Filesize - woddrazen, 2010-03-12, 09:11