LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to download files from an URL in a proxy server environment

Hi,

 

I am trying to download a file using LabVIEW with a simple DataSocket Read function but I am getting this error message: "LabVIEW:  Path not found, FTP login incorrect, or no FTP write permission." I am trying to do this at work and I know we have a proxy server. Even If I use this simple code, it does not work:

 

 

code.png

 

How can I tell LabVIEW to use the proxy server?

 

Thanks,

 

José Rodrigo TÁGER

0 Kudos
Message 1 of 3
(6,905 Views)

Hello JR_Tager.

 

Thanks for using the NI Forums. From what I see in your code you haven’t initialized any session to a server. Please take a look at the Simple DataSocket.lvproj within the LabVIEW Find Examples section.

 

Please check also this Datasocket tutorial that will explain the main functions and help you with your application.

 

http://www.ni.com/white-paper/3224/en/

 

Hope you find this information useful!

 

Luis C

Luis CT
0 Kudos
Message 2 of 3
(6,843 Views)

Hi LuiE_C

 

Thanks for your reply. About that, I thought there was no need to initialize a session. For example, checking at the paper you are pointing below, we have this:

 

http.png

 

 

This is what I actually try to use and it is not working. I am 100% sure it must be because of the proxy settings. That is the reason why I am asking how to tell LabVIEW the proxy settings.

 

Thanks,

 

JR TÁGER

0 Kudos
Message 3 of 3
(6,832 Views)