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.
Actually you should try exactly what I mention in my last post. Of course you should first connect to your SFTP server using wodSFTP.NET.
sftp1 in my example is wodSFTP.NET reference:
Dim WithEvents Sftp1 As WeOnlyDo.Client.SFTP
So you don't need to reference GetAttributes Method.
Did you try maybe wodSFTP.NET examples maybe? You can find them in component Samples folder.
Maybe they can help you to start developing with wodSFTP.NET.
Drazen
Fantastic product by the way, it has helped us tremendously on a daily basis. Keep up the good work.
Ben Lewis
Waterson Consulting Ltd.
I really like these products - they are consistently first rate!
David Witten
WWR Development, Inc.
...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...
Michael Thomas
ClownRed Media
We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.
James Sievers
Harbor Technologies
Not only wodSFTPdll is excellent, the service you have provided is outstanding and second to none!
Ian D. Mead, author of UltraEdit-32
IDM Computer Solutions
Your professionalism is reflected into your email, your product and your web site. I am confident that these will make the difference.
Sylvain Paquette
R&D Analyst at InfoPharm Inc.
Congratulations on an excellent product and first rate support!
Sander Pool
Rhapsody Networks
Fantastic product by the way, it has helped us tremendously on a daily basis. Keep up the good work.
Ben Lewis
Waterson Consulting Ltd.
...I'm extremely impressed with the product, it represents excellent value for money...
Danny Haworth
Assetdisk
Count us as a satisfied WeOnlyDo customer. We appreciate your terrific support to get the secure Telnet working properly.