Re: wod SFTP Active X control GetAttributes event (General questions)
Hi,
Can you try the code like this?
----------------------------------------------------------------
sftp1.HostName = your_hostname
sftp1.Login = your_login
sftp1.Password = your_password
sftp1.Connect
End Sub
Private Sub sftp1_Attributes(ByVal Size As Long, ByVal Uid As Long, ByVal Gid As Long, ByVal Permissions As Long, ByVal AccessTime As Date, ByVal ModificationTime As Date)
Debug.Print Size
End Sub
Private Sub sftp1_Connected(ByVal ErrorCode As Integer, ByVal ErrorText As String)
If ErrorCode = 0 Then
sftp1.GetAttributes /home/something/test.txt
Else
Debug.Print ErrorText
End If
End Sub
----------------------------------------------------------------
Does this work?
Regards,
Damba
Complete thread:
- wod SFTP Active X control GetAttributes event does - lchopra, 2007-09-10, 12:15
- Re: wod SFTP Active X control GetAttributes event - wodDamir, 2007-09-10, 12:46
- Re: wod SFTP Active X control GetAttributes event - Love Chopra, 2007-09-10, 13:02
- Re: wod SFTP Active X control GetAttributes event - wodDamir, 2007-09-10, 13:15
- Re: wod SFTP Active X control GetAttributes event - woddrazen, 2007-09-10, 18:00
- Re: wod SFTP Active X control GetAttributes event - wodDamir, 2007-09-10, 13:15
- Re: wod SFTP Active X control GetAttributes event - Love Chopra, 2007-09-10, 13:02
- Re: wod SFTP Active X control GetAttributes event - wodDamir, 2007-09-10, 12:46