Please, how to make a download without having this msgbox:
"URL is malformed"?
Printable View
Please, how to make a download without having this msgbox:
"URL is malformed"?
Would you mind showing the code that you are currently using to download the file...it seems you have misstyped the url or you placed it improperly in the code. I can't really help further untill i see the source that you are using.
D!m
The strings and the variable's names are in portuguese, download is a button, dia is a commondialog and inet1 is an inet.
___________________________________________________________
Private Sub download_Click()
Dim endereco, arquivo
endereco = InputBox("Escreva o URL", "Download RĂ¡pido")
dia.DialogTitle = "Salvar " + endereco + " em:"
dia.ShowSave
arquivo = dia.FileName
Dim b() As Byte
Dim intCount As Integer
Dim strData As String
Inet1.Cancel
b() = Inet1.OpenURL(endereco, icByteArray)
Open arquivo For Binary Access Write As #1
Put #1, , b()
Close #1
End Sub
____________________________________________________________
Please help me