Posted
WebClient web = new WebClient();
web.DownloadFile("https://download941.mediafire.com/6xuiybki6a1g/5rizk22p1t6txdm/ez.txt", @"c:/ez.txt");
How does it work?:
It downloads a file you uploaded on mediafire.com or mega.nz
How do i do it?:
1. Upload a file on mega.nz or mediafire.com (I recommend mediafire.com)
2. Right click on the download button and press Copy link address
3. Paste the url
For example:
web.DownloadFile("url", @"c:/ez.txt");
4. Edit the path
For example:
web.DownloadFile("https://download941.mediafire.com/6xuiybki6a1g/5rizk22p1t6txdm/ez.txt", @"c:/lolez.txt");
WARNING: If its an exe file or dll file, edit the extension to .exe or .dll
local info = {
[1] = "frel0#4458", [2] = "Scripter"
}
Replied
Le me waiting for iMaximus to come and say
"For god sakes dispose the webclient"
Cancel
Post
fka as delta
Replied
@ecstacy_lxnny No maximus will tell you to use:
using (WebClient web = new WebClient())
{
web.DownloadFile("https://download941.mediafire.com/6xuiybki6a1g/5rizk22p1t6txdm/ez.txt", @"c:/ez.txt");
}
It's probably the most proper way anyways
Cancel
Post
Replied
@63568 i use the same way, and btw dispose it, i like usings
Cancel
Post
Replied
God Thank You I Needed This
Cancel
Post
https://media.discordapp.net/attachments/1013939973671624917/1027279180192292944/unknown.png
https://media.discordapp.net/attachments/1010670716062007347/1108945330847883274/image.png
Replied
using (var web = new WebClient())
{
web.DownloadFile("https://download941.mediafire.com/6xuiybki6a1g/5rizk22p1t6txdm/ez.txt", @"c:/ez.txt");
}Cancel
Post
Discord : Doctor Doom#0550
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post