I believe you are using the SFTP (SSH2) version of the extension
You probably do not need the sftp:// for the host, neither do you need the file:// for your remote and local file paths.
I believe you are using the SFTP (SSH2) version of the extension
You probably do not need the sftp:// for the host, neither do you need the file:// for your remote and local file paths.