LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

rt +cRIO +ftp

I am using a cRIO Real Time controller in a monitoring application where I store data to a file. I can access this file remotely via ftp but this exposes all the files on the cRIO. Are there any options for specifying additional user accounts that do not expose all the system files? Basically, I'd like remote useres/systems to be able to access or pull the generate data files without the ability to damage or corrupt the system files.
 
When I login into the cRIO from a command prompt and type "remotehelp" it list several option. Are these command accesible and if so is there any documentation? The USER, PASS and ACCT options seem to be exactly what I'm looking for. Any help would be appreciated.
 
Thanks in advance,
 
Bryan
0 Kudos
Message 1 of 4
(4,217 Views)
Hi Bryan,
 
The FTP server on the cRIO will support a password protection feature, accessible if you choose to Lock the device through Measurement & Automation Explorer (MAX), but unfortunately it does not support the creation of separate user accounts with unique permissions for each user.  If this is a feature that would benefit you, I encourage you to let our developers know by sending us product feedback at www.ni.com/contact
 
As an alternative, you can use the Internet Toolkit on the host side to create a simple FTP application with a hard-wired path to allow your users to access the files in a single directory, then lock ths VI's block diagram so users will not have access to change this path.
Cheers,

Matt Pollock
National Instruments
0 Kudos
Message 2 of 4
(4,205 Views)
OK...kinda what I figured and I posted developer feedback for the issue. I also noticed that if you list the directory from the command prompt that the file permissions are displayed. (Please note that "ls" lists just the file names and "dir" gives the permissions, owners, groups, size,date, etc....) Is there a way to modify these permission? I tried the *unix command "chmod"...but no luck there either.
 
Regards,
 
Bryan 
0 Kudos
Message 3 of 4
(4,200 Views)

Hi Bryan,

Since we don't have separate user accounts with the ftp server, the default user is granted full permissions to access the files on the cRIO, essentially the only account available is an administrator account.  You can add password protection to the account, as well as specify which IP addresses are allowed to communicate, but once a user is into the system, they have full access.

Cheers,

Matt Pollock
National Instruments
0 Kudos
Message 4 of 4
(4,185 Views)