LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Download a file programmatically

Solved!
Go to solution

Hi all,

 

I'm trying to read data in a file stored on the system of my enterprise. I've a link like this: "http:\ged\management\entites\fupeng\PdT\Organisation\file.txt". I've tried to use this link as path for my reading function, but it doesn't run. I've clearly to first download the file from the link to a local repository. But I don't find how to make...

I'm workin with LabVIEW 2014 SP1.

 

Thanks per advance!

Francis M
0 Kudos
Message 1 of 3
(3,236 Views)
Solution
Accepted by topic author Cisco

@Cisco wrote:

Hi all,

 

I'm trying to read data in a file stored on the system of my enterprise. I've a link like this: "http:\ged\management\entites\fupeng\PdT\Organisation\file.txt". I've tried to use this link as path for my reading function, but it doesn't run. I've clearly to first download the file from the link to a local repository. But I don't find how to make...

I'm workin with LabVIEW 2014 SP1.

 

Thanks per advance!


Could it be as simple as requiring the source URL to start "http:\\<share>\<path to file>"?  Try adding the second backslash just after the "http:".

 

Bob Schor

0 Kudos
Message 2 of 3
(3,218 Views)

Thank you!

 

It was just a syntax issue. I've replaced "http:\" by "\\".

Bye!

Francis M
0 Kudos
Message 3 of 3
(3,209 Views)