Download to root directory
Okay, so I have been searching for ages to find this but no luck.
I am using:
Me.downloader.DownloadFileAsync(New Uri(fileUrl),
Path.GetFileName(fileUrl), Stopwatch.StartNew)
To download a file but I want it to save to the root directory of my
program in a file called launcher.
So for example, if my program is on the desktop and I open it and click
start I want it to create the launcher folder if it's missing then
download the files into that and if it's not then just download the files
into it.
I've been looking everywhere to find code which would allow me to do this
and I have tried lots of different things.
At the moment, it justs saves in the root directory of where the program is.
Thanks.
No comments:
Post a Comment