Hi there,
I've got a problem with INET. I have to get file in FTP from a Unix server. The files are named "std", "ft" and "header" without extension. I need to get them in Binary mode...
I've tried this
Private Sub cmdGET_Click()
Dim b() As Byte
Dim strURL As String
strURL = "ftp://USERIDASSWORD@111.111.111.111/00000001/std"
b() = Inet1.OpenURL(strURL, 1)
Open "C:\std.txt" For Binary Access Write As #1
Put #1, , b()
Close #1
End sub
and it replies "Type mismatch" on the openurl command...
What do I miss ? The file is a video file.
TIA for a reply
Luc ))
I've got a problem with INET. I have to get file in FTP from a Unix server. The files are named "std", "ft" and "header" without extension. I need to get them in Binary mode...
I've tried this
Private Sub cmdGET_Click()
Dim b() As Byte
Dim strURL As String
strURL = "ftp://USERIDASSWORD@111.111.111.111/00000001/std"
b() = Inet1.OpenURL(strURL, 1)
Open "C:\std.txt" For Binary Access Write As #1
Put #1, , b()
Close #1
End sub
and it replies "Type mismatch" on the openurl command...
What do I miss ? The file is a video file.
TIA for a reply
Luc ))