download file....

Getox

Centurion
Joined
Jul 8, 2004
Messages
122
im making my program download a file that the user puts into a text box
to a location the user selects and saves it to that directory with the filename the user puts into the text box

but im getting errors with saving it

Code:
        Dim File As String = fileurl.Text
        wClient.DownloadFile(File, savelocation.Text \ filename.Text)

"savelocation.Text \ filename.Text" is the part im getting errors with
anyone know how to save it like that?
or does it have to be like "filelocation.Text" and that is "C:\file.ext"
 
Rick_Fla said:
Try

Code:
Dim File As String = fileurl.Text
wClient.DownloadFile(File, savelocation.Text & "\" & filename.Text)

What is the error?
Hey that worked, thats heaps man
 
Back
Top