취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

How to Download Files from http?

해결 완료!
솔루션으로 이동
How to Download Files from http
0 포인트
1/7 메시지
9,281 조회수

If you have a URL for a file you want to download, you can use the HTTP Client VIs to GET that resource.

Alternatives could include using "wget" or "curl" or similar from a command line using the System Exec node (but these are more brittle, and so should be a second choice).


GCentral
0 포인트
2/7 메시지
9,260 조회수

how about use ''simple get'' from ''webDAV''?Thanks

0 포인트
3/7 메시지
9,246 조회수
솔루션
주제 작성자 hyzgbt이(가) 승인함

@hyzgbt wrote:

how about use ''simple get'' from ''webDAV''?Thanks


Yes, you could use those too. I found the palette you meant now. However, when I tried to replace the example below with the webDAV code, I was told that redirection was refused. So as in the case below, be careful for URLs that redirect you somewhere else...

 

Here's an example using the client VIs. I picked the target by random repository on GitHub, then going to releases.

DownloadFile_BD.png

Interestingly, the file that comes out (output_file.html) just tells you you're being redirected to some other page to download it, so you don't really download the zip with this code...

Hopefully you have a real URL that you can GET.


GCentral
0 포인트
4/7 메시지
9,233 조회수

Thank you very much!I will try it later

0 포인트
5/7 메시지
9,217 조회수

As picture,It have error when I used those,can you help me solve it?.After my customer send the url to me,I try it again.Thanks your help.
Best Regards1.JPG

2.JPG

 

0 포인트
6/7 메시지
9,172 조회수

You have wired "D:\" as your path to a file. I suspect the error supports this conclusion, but I confess I can't accurately read it.

 

You need to give a filename, not a directory.


GCentral
0 포인트
7/7 메시지
9,142 조회수