• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    SFTP access to Neuron directories

    General Discussion
    2
    12
    4948
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mikeardy last edited by mikeardy

      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?

      T 1 Reply Last reply Reply Quote 0
      • T
        tomas_hora administrators @mikeardy last edited by

        @mikeardy As what user are you logged in when connected to sftp and to what foler are you trying to write the file?

        M 1 Reply Last reply Reply Quote 0
        • M
          mikeardy @tomas_hora last edited by

          @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.

          T 1 Reply Last reply Reply Quote 0
          • T
            tomas_hora administrators @mikeardy last edited by

            @mikeardy and the folder?

            1 Reply Last reply Reply Quote 0
            • M
              mikeardy last edited by

              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.

              T 1 Reply Last reply Reply Quote 0
              • T
                tomas_hora administrators @mikeardy last edited by

                @mikeardy what about /tmp/

                M 2 Replies Last reply Reply Quote 0
                • M
                  mikeardy @tomas_hora last edited by

                  @tomas_hora said in SFTP access to Neuron directories:

                  @mikeardy what about /tmp/

                  IT'S FANTASTIC!
                  IT WORKS!
                  Thanks!

                  1 Reply Last reply Reply Quote 0
                  • M
                    mikeardy @tomas_hora last edited by

                    @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.

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tomas_hora administrators @mikeardy last edited by

                      @mikeardy Yes, that is the purpose of /tmp aka Temporary folder. You can also try /home/pi/...

                      1 Reply Last reply Reply Quote 0
                      • M
                        mikeardy last edited by

                        ok I will try to use the /home/pi/ folder.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post