• I need to upload file to a different server than the one our site is on. This being the case, I need to use SFTP. The server I am trying to upload is our SFTP server and we use it all the time as such. BUT when I try to use your plugins, I get the message:

    Upload failed!
    Error. The web server does not support sftp.
    Failed upload path: sftp://uploaded:[email protected]:22/uploads/red_moon.jpg

    I tested the username and password and they work in my FTP program. When I login, I see the uploads folder. Also, if I copy and past the SFTP url shown above in my browser, it opens my FTP program and logins and list the uploads directory. The permissions for uploads is set to 755. So everything on my end is working on the backend.

    Here is the shortcode I am using (note, the password has been changed):

    [wordpress_file_upload accessmethod=”ftp” ftpinfo=”uploaded:[email protected]:s22″ useftpdomain=”true” ftppassivemode=”true” adminmessages=”true” debugmode=”true”]

    Any thoughts as to why this is not working?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, in FTP mode please note that the file is first uploaded to the WordPress website and then it is transferred to the FTP domain using PHP ftp commands. It seems that your website does not support sftp commands because it does not have the required library installed. Is this a managed domain or is it yours?

    Regards

    Nickolas

    Thread Starter ascendmath

    (@ascendmath)

    It is my domain. What libraries do I need to install?

    Carl

    Plugin Author nickboss

    (@nickboss)

    Hi, please read this article. IT describes what library to install.

    In my Debian 8 I had to install php5-ssh2 library and restart apache.

    Regards

    Nickolas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SFTP Not Working’ is closed to new replies.