SFTP access to Neuron directories
-
I'm using UniPian Neuron OS 2018-03-07 with CODESYS.
I have been written correctly a CODESYS PRG capable to write and read files into the root directory.
Why is it not possible with SFTP with regular access? -
@mikeardy As what user are you logged in when connected to sftp and to what foler are you trying to write the file?
-
@tomas_hora I configured Filezilla to connect in SFTP with user: pi and password: raspberry, the same I used to connect via SSH Putty terminal.
-
@mikeardy and the folder?
-
Hi,
no matter about the folder.
If you suggest me a specific folder I could write a CODESYS sketch to be directed in that folder. I think. -
@mikeardy what about /tmp/
-
@tomas_hora said in SFTP access to Neuron directories:
@mikeardy what about /tmp/
IT'S FANTASTIC!
IT WORKS!
Thanks! -
@tomas_hora said in SFTP access to Neuron directories:
@mikeardy what about /tmp/
There is an issue! When the Neuron gets power outage and restarts again the /tmp/ folder is restored to its default that is an empty folder and in this way the config file is lost...
I need the file must remain available in the SD. -
@mikeardy Yes, that is the purpose of /tmp aka Temporary folder. You can also try /home/pi/...
-
ok I will try to use the /home/pi/ folder.