• Resolved sparkbold

    (@sparkbold)


    Hi –

    I tried to use this plugin to connect to a remote sftp server but unsuccessful. DEFINE(‘FS_METHOD’, ‘ssh2’) within my plugin (not set globally) and connect to remote via ftp_connect(‘sftp.remotehost.com’,22). Am I missing something?

    Thanks very much for help!!!

Viewing 1 replies (of 1 total)
  • Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    within my plugin (not set globally) and connect to remote via ftp_connect(‘sftp.remotehost.com’,22)

    I don’t know what you mean by this? This plugin is for helping WP to access the local filesystem over SSH for the purposes of the WP_Filesystem API, for updating WP components. It has no effect (and could never have any) upon what happens if you write code that calls native PHP functions like ftp_connect().

    David

Viewing 1 replies (of 1 total)
  • The topic ‘Using plugin to send file to remote sftp server’ is closed to new replies.