LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I can't retrieve file list from FTP server of my RT target

Solved!
Go to solution

My VI gets stucked on FTP directory listing VI and returns error after one minute. I tried searching for FTP tutorials and samples but I can't find something that is the same with this.

 

 

Here is my Code snippet. I also upload a LV13 version my code.

snip.png

 

this is my directory that was trying to get

 

ftp_error.jpg

 

 

and this was the error

ftp_error.jpg

 

 

Can someone help me with this?

0 Kudos
Message 1 of 5
(4,424 Views)
Solution
Accepted by FyrewurX

What is your RT target?  Any of the Linux RT have FTP disabled by default for security reasons.  NI recommends switching to WebDAV.  But you should still be able to install the FTP driver on the RT system if you really want to stick with FTP.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 5
(4,410 Views)
I installed FTP using MAX. I use CVS 1457RT
0 Kudos
Message 3 of 5
(4,403 Views)

Have you tried to use the absolute path /ni-rt/startup/.... rather than the relative one without leading slash?

 

The FTP servers current working directory may not be in the root when you attempt to list the contents. Alternatively try to execute the pwd command to see where you really are located!

Rolf Kalbermatter
My Blog
Message 4 of 5
(4,380 Views)

Thanks for all the advices. I managed to perform my task using webdav and also performs webdav get.

0 Kudos
Message 5 of 5
(4,333 Views)