|
-
Jul 17th, 2000, 12:55 PM
#1
Thread Starter
New Member
Hi,
I am trying to get the content of a ftp-directory with the DIR-command, but every time I call it, it does not work.
I don't get any errors.
This is what i tried:
Private Sub Command1_Click()
Inet1.execute , "dir"
end sub
Private Sub Inet1_StateChanged(ByVal State As Integer)
Dim strData As String, strNewData As String
If State = icResponseCompleted Then
Do
strNewData = Inet1.GetChunk(512, icString)
DoEvents
If Len(strData) = 0 Then Exit Do
strData = strData & strNewData
Loop
MsgBox strData
End If
End Sub
Can you tell me, what is wrong?
Thank you,
JaK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|