Error When Using FTP to Access cRIO Files

Updated May 6, 2020

Reported In

Hardware

  • cRIO-9033
  • cRIO-9031
  • cRIO-9032
  • cRIO-9034
  • cRIO-9035
  • cRIO-9036
  • cRIO-9037
  • cRIO-9038
  • cRIO-9039
  • CVS-1458
  • CVS-1459
  • IC-3120
  • IC-3121
  • IC-3171
  • IC-3172
  • IC-3173
  • cDAQ-9132
  • cDAQ-9133
  • cDAQ-9134
  • cDAQ-9135
  • cDAQ-9136
  • cDAQ-9137
  • cRIO-9041

Software

  • LabVIEW 2017 Real-Time Module

Driver

  • NI-RIO 17.0

Other

NI Linux Real-Time Intel x64 CompactRIO-903x with Legacy FTP Server

Issue Details

I am trying to log files to my cRIO-9033 (or other 903x) using FTP. When I log more than 32 files, I am getting an access violation or an error message telling me that the FTP has been aborted by the peer.

An error occurred opening that folder on the FTP server. Make sure you have permission to access the folder.

Solution

Edit the /etc/vsftpd.conf file by inserting the following setting:
seccomp_sandbox=NO

Additional Information

Note that if the cRIO is formatted, the INI token will have to be added again.

This issue is specific to LabVIEW Real-Time 2017 and the corresponding NI Linux Real-Time version for NI Linux Real-Time Intel x64 targets. R&D is already aware of the issue and this bug will be addressed in a future release.

Using FTP to access files on cRIO is a deprecated method and is not recommended. WebDAV is the recommended replacement. WebDAV LabVIEW VIs exist to manipulate files programmatically.