I finally have something that works!
But I was obliged to add .Result after each asynchronous method, which as a result, are no longer asynchronous.
As I still can not insert url so I hosted the code on pastebin: pastebin[dot]com[slash]M3cFLpJQ
How to do that, I don't understand anything about cookies.
Moreover, sometimes I can download files directly without anything else.
Damn, there so many http clients in the c# world now:
- Flurl
- HttpClient
- HttpWebRequest
- RestSharp
- WebClient
How can I download file from videohelp with c# language?
Sometimes it works well with only the WebClient.DownloadFile method.
But not always because there are cookie and maybe referer protections.
I tried a lot of thing to write a function that download a file through the Awesomium SDK in an off screen way.
Unfortunately, nothing works...
How to do it with Awesomium 1.7.5 ?
This is my very basic code...
using System;
using Awesomium.Core;
namespace AwesomiumTest
{
class Program...
I tried to have something like apt-get upgrade on Ubuntu.
I already created methods that scrape and download latest version of all software I use everyday.
I know about security issues, but even when I download and install my software manually I don't check them really well like infosec...
Is it possible to create a windows service with C# that downloads executables inside tempdir and install them silently each month to keep my software updated ?
I need to create a service that runs only after clicking shutdown (each month) and like Windows Update does, writes something like...
How web browsers do so ?
I need to download a file from a short url that redirect to the file download.
I need to retrieve the true filename because the file change its extension sometimes.
Today it's an .tar.gz archive but yesterday it was a .7z archive.
Furthermore, it would be great to have...
Previously when I needed to download a file, I get the filename from the url itself.
But some weird urls (sorry I can't post urls here) don't have the filename in its url.
Some urls don't provide content disposition too!
What's the best way to retrieve download original filename from any kind...
Patching qt based application is out of my skills.
This pull request is very old, that's strange! If it works, why they don't use this patch in the master branch?
Nobody would have alternatives to phantomjs/casperjs?
PhantomJS / CasperJS have an issue with big file downloads! :(
Just try to download a big file like a linux distribution and you will get 0 byte file.
Moreover, the download() method needs a target argument...
I tried Awesomium and CefSharp because they are very easy to install with nuget.
But...
Hello the blackhatworld community
I need a way to automate downloading files with a full featured no gui browser.
Something like phantomjs but without the downloading issues.
A little example:
Login to the angular based website.
I navigate to a webpage where the download link is.
From...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.