08-30-2017 02:17 PM
This may be a networking problem. I would check that all ports are open using the Troubleshoot Remote Discovery Tool in MAX and specify port 22 in Filezilla to use sftp.
10-18-2017 11:23 PM
I am having the same Problem on a cRIO-9030.
I have just migrated from LV2015 to LV2016 to LV2017
I suspect that the working and non-working directories were created using different tools (Windows Explorer, Silver light, Filezilla)
10-18-2017 11:34 PM
Update,
The folders I was trying to access had more than 100 files in it.
I deleted the bulk of them and was then able to access both directories that were previously inaccessible.
11-28-2017 02:19 PM
This doesn't really help me 😕
03-14-2018 02:44 PM
I don't think this is all of my issues, but certainly some of them can be attributed to the OpenG Create Dir if Non-Existant. This VI does what is says, creating a directory if it doesn't exist. But it also sets the folder permission by default to 755. This has caused some of my issues in that deleting a file via FTP appears to delete it, until you refresh the directory list and see that the file is still there. I think using this improved version which sets the permission to 777, and I think does things in a more efficient way. For instance the OpenG VI was written before the Create Directory would create a directory in a directory if they don't exist. You basically had to iterate over all directories one at a time where now it will make all the layers in one call. I don't have access to the original test system that gave me issues in listing the files, but I think this might have been some of my problem.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-20-2018 05:32 PM - edited 07-20-2018 05:32 PM
How did you manage to delete the files in folders that were inaccessible?
07-23-2018 07:33 AM
So for me I enabled SSH on the controller from MAX, and restarted it. Then using Putty I SSH'ed into the controller using the IP address, and navigated to the folder that was giving me issues. Then I issued the following two commands one after the other:
find . -type d -print0 | xargs -0 chmod 0777
find . -type f -print0 | xargs -0 chmod 0777
This sets all files in that folder to have permission 777, and then all folders.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-26-2018 09:50 PM
check out this link:
Error When Using FTP to Access cRIO Files
basically you will need to do this:
"
Edit the /etc/vsftpd.conf file by inserting the following setting:
seccomp_sandbox=NO
"
this applies if there are more than 32 files in the folder. i had the same problem on two cRIO-9035 and the above link solved the issue.
-Joe
07-27-2018 08:17 AM - edited 07-27-2018 08:18 AM
Thank you so very much, that explains why it was working and at some point just stopped. This does make me think of another question for NI. That knowledge article specifically mentioned Real-Time 2017 as being the version with this issue but they didn't mention if this effects 2018. Since the article was posted in May 2018 I'd assume the fix didn't make it into LabVIEW 2018. Also it mentions WebDav as an alternative but I swear that when I couldn't get these files via FTP I tried that and had a similar issue.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord