Implemented SFTP not working on v3.7.1

Status
Not open for further replies.

Rodolfo

Chevereto creator
Chevereto Staff
It has been reported that SFTP is not working in v3.7.1 for image upload. If you use SFTP you must apply this hotfix.

Open app/lib/classes/class.sftp.php and change this:
PHP:
if(!$this->sftp->put($args['filename'], $args['source_file'], NET_SFTP_LOCAL_FILE)) {
To this:
PHP:
if(!$this->sftp->put($args['filename'], $args['source_file'], 1)) { // 1 for local, 2 for string
This patch has been applied to the v3.7.1 downloads.

Cheers,
Rodolfo.
 
Status
Not open for further replies.
Top