Sub Main() 'email questions to firstname.lastname@example.org Dim DownloadURL As String Dim SavePath As String Dim download As New System.Net.WebClient() System.Console.WriteLine() System.Console.WriteLine("Vb.Net CL Downloader by: JaG") System.Console.WriteLine() System.Console.Write("Download URL: ") DownloadURL = System.Console.ReadLine() System.Console.Write("Save Path: ") SavePath = System.Console.ReadLine() download.DownloadFile(DownloadURL, SavePath) System.Console.WriteLine("Download Complete!") End Sub
Sponsored by: █ Sparkhost - Hosting Without Compromises! █ Hybrid Performance Web Hosting █ Spark Host Stream Hosting █ Hybrid IRC & IRCd Server Shell Accounts
Command Line Downloader
Posted 02 October 2004 - 05:25 PM
Posted 03 October 2004 - 12:59 AM
I would recommend having your program take 2 parameters, the source and the destination to save the file. Will make it easier when people want to plug their own progz into it. Just needs a little validation to reduce the chance of the errors, part from that its a handy little tool!
Posted 03 October 2004 - 09:06 AM
because many computers don't have the net framework installed.
Posted 03 October 2004 - 03:01 PM
I am running Framework .NET 1.1 dunno whats wrong
Posted 09 October 2004 - 01:58 PM
Posted 09 October 2004 - 02:48 PM
So what do you think of .NET ? I never really embraced it personnally. Would love to hear you guys opinions (es. vb.net).
I think .NET is great, Also VS have a great IDE for good coding and speed.
Outputs are not so big but of course biggest problem is Framework requirements.
setthesun me = new setthesun();
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users