Most voted "webclient" questions
18 questions
Sort by count of
-
8
votes1
answer1767
viewsHow to download automatically on a site that calls Javascript?
I need to make a program that downloads Pdfs from various websites daily and automatically. It is very easy to perform this operation using the C#Webclient command, however, on certain websites it…
-
6
votes1
answer51
viewsPOST request on Jetty Client 9.X
I’m using the Jetty Client to request a API Web, until recently everything was ok, but I felt the need to send data via POST. Problem In the documentation of Jetty says that POST request data should…
-
5
votes1
answer1874
viewsHow to collect data from a web page?
Web data collection, or Web Scraping, is a form of mining that allows the extraction of data from web sites by converting them into structured information for further analysis. Present here your…
-
2
votes1
answer271
viewsUsing TLS 1.2 in . NET Framework 2.0
I’m looking to use TLS 1.2 on a call Webclient in the framework .NET 2.0 It is possible? try { using (System.Net.WebClient client = new System.Net.WebClient()) { string u = client.UploadString(url,…
-
1
votes2
answers507
viewsWebclient request returns empty
In my program I need to get the contents of my site, but the return of the downloadString method of the Webclient object returns null. The most intriguing is that there is no exception, the status…
-
1
votes1
answer110
viewsAssociating List<T> with Webclient
How to associate a class List to a Webclient, and at its end calls another Webclient in a index different List< WebClient > clients; void BaixarTudo(List< string > urls){ for(int i=0;i…
-
1
votes1
answer107
viewshttppost is not solved in my class in my application
I can’t import class from org.apache.http.conn on my Eclipse app. This is my class: package br.com.cadastro.cadastrocompleto.suporte; import java.io.IOException; public class WebClient { private…
-
1
votes1
answer55
viewsUnrecognized Element (Download Files)
I am trying to make a code to download the file in a folder and returns me this error unrecognized element. Code: string pasta = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86)…
-
1
votes1
answer27
viewsWebclientdownloadfiletaskasync file in use, even with Dispose
I am downloading 10 images at the same time async way, However in the 2nd photo usually the error that the image is in use. The process can not access the file because it is being used by Another…
-
1
votes1
answer164
viewsWebclient.Downloadfile(Address, Filename) Doubt using variable
Well, I’m creating an upgrade system, and it’s giving error in one part WebClient web = new WebClient(); string DownloadVersion =…
-
1
votes1
answer279
viewsWebclient C# finishing download before starting to download
I have a question, I am using Webclient in C#language, I have the following problem: I click on Download a file, and it does not start downloading, it says that downloading is already finished...…
-
0
votes0
answers392
viewsDownload a folder to your computer
In C# to download a file use the code: using System.Net; void Baixar(string url, string saida) { WebClient wc=new WebClient(); wc.DownloadFileAsync(new Uri(url), saida); } So far I haven’t found any…
-
0
votes1
answer143
viewsHow to download direct from TXT file
I uploaded a file to a WEB server, but when I use this code: WebClient update = new WebClient(); string Teste = update.DownloadString("http://testexxx.000webhostapp.com/teste.txt"); Returns this…
-
0
votes1
answer94
viewsFetch content from an online file
string nome, idade, valores; WebClient WEBC = new WebClient(); public void Exemplo() { valores = WEBC.DownloadString("https://pastebin.com/raw/r4GjhKQ3"); } I want to take the values of the name and…
-
0
votes0
answers869
viewsException has been thrown by the target of an Invocation
Hello, I am trying to login to the site and I get the error message: Exception has been thrown by the target of an Invocation Dim url As String = "https://www.academia.edu/login" Dim client As New…
-
0
votes1
answer446
viewsPowershell (new-Object System.Net.Webclient). Downloadfile Strings as Arguments
I have the following code that I use to download the last chromedriver for a specific folder: (new-object…
-
0
votes2
answers80
viewsProgress bar does not update with ftp download
Hello, so here’s the thing i have a function that downloads the desired file from http, and as it downloads, it updates the progress bar (being increased from 0% little to 100% when finished).…
-
0
votes1
answer39
viewsHow to download a Github release file using Webclient on . NET 3.5?
After my question of Create Zip files and unzip using . NET 3.5 I have a problem. It’s just that before I was able to download my file in a Github release, but then it didn’t work anymore. using…