Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i make a curl cmd?

Hello!

 

I am trying to figure out if it is possible to make a curl command on a cRIO?

 

like this: 

 

curl - -upload ”myfile.txt” ”https://xxx.xxx/xxx"

 

 

0 Kudos
Message 1 of 4
(6,289 Views)

Do i have to reverse engineer the curl command and make a Labview implementation af curl?

0 Kudos
Message 2 of 4
(6,277 Views)

So i guess i have to find the curl.exe that will run on the compactRIO (NI Real-Time VxWorks-PPC603 6.3)

 

...but there is no package that will run on PPC603.

0 Kudos
Message 3 of 4
(6,265 Views)

I would think this would probably be pretty painful on the VxWorks/PowerPC-based cRIO's. It would be straightforward on the Linux-based ones (903x, 906x), but on a VxWorks one, you'd probably need to track down some curl source code and build it as a VxWorks shared library and call it from LabVIEW...assuming you need to stick with your current cRIO, it would probably be easier to use a non-curl way to upload your file (FTP, WebDAV, etc.) that already has LV support.

0 Kudos
Message 4 of 4
(6,198 Views)