ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Select which File is copied from FTP

Hello

I'm building a small tool that should help an operator copying a lot of different log files to the correct place after a test. Unfortunately one of the files is stored on an FTP drive. As the file name always changes and it might not be the latest one I need a browser for the operator to select the proper file. I know how to copy files from the FTP using the "FTP Get File" VI. However, I need the user to be able to select which file should be copied. The FTP is added as a drive onto the computer but I can't select a path over this route.

Does anyone have an idea?

0 Kudos
Message 1 of 4
(2,589 Views)

Hello Slaxx,

 

Have you tried the path to string function to convert a path to the string address that you want?

I don't know if it works or not.

Path to string.PNG



0 Kudos
Message 2 of 4
(2,572 Views)

Hello HoussemeddineSnoussi

Thank you for your help. That was my idea first as well. But the problem is the Path Browser won't even let me select a file on the FTP-Drive.

0 Kudos
Message 3 of 4
(2,564 Views)

There is an FTP Put and Get example in the Example Finder under Help >> Find Examples.

0 Kudos
Message 4 of 4
(2,547 Views)