Component is busy after issuing ListDir comman (wodSFTP / wodSFTP.NET / wodSFTPdll)
greetings,
can someone explain this error? code snippet
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
With axFtp
If .CtlState = wodFtpDLXLib.StatesEnum.Connected Then
Dim sFullPath As String = /home/secft/download/FIDXXX
Dim lngRT As Long = .CheckDir(sFullPath)
If lngRT = 0 Then
.DirFormat = wodFtpDLXLib.DirFormats.fmtAuto
.ListDir(sFullPath)
Tag = ListDir
Else
lbFTPFilesR.Items.Add( No files available for DownLoad )
End If
End If
End With
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
the ListDir cause Component is busy exception. i make sure that it is connected and that the directory exists, but when the command is issued, it excepts.
tia
jim [code][/code]