SFTP access to Neuron directories
-
@mikeardy There are two possible cuses:
- If you are using the UniPian Neuron OS (or Raspbian) you are trying to upload the file to a folder where the user has no write permission.
- If you are using Mervis OS, then the FileSystem is not mounted for writing and you need to mount it for writing first by mount -o remount,rw /
-
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login