Sub Main()
'email questions to superfob@gmail.com
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
Started by
JaG
, Oct 02 2004 05:25 PM
5 replies to this topic
#1
Posted 02 October 2004 - 05:25 PM
This is my first attempt to make something in vb.Net so it might have some errors. Took me five mins or so to make it can download a file to a speified path on drive via CMD. Ive also included a complied version and the source. Enjoy
#2
Posted 03 October 2004 - 12:59 AM
Thats pretty handy, wget does the same thing.
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!
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!
#3
Posted 03 October 2004 - 09:06 AM
can you do this without net?
because many computers don't have the net framework installed.
because many computers don't have the net framework installed.
#4
Posted 03 October 2004 - 03:01 PM
my computer reported some kind of unhandable error ..
I am running Framework .NET 1.1 dunno whats wrong
I am running Framework .NET 1.1 dunno whats wrong
#5
Posted 09 October 2004 - 01:58 PM
So what do you think of .NET ? I never really embraced it personnally. Would love to hear you guys opinions (es. vb.net).
#6
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













