cancel
Showing results for
Did you mean:

SOLVED

## Method definition is incorrect ?

I am trying to use Varien_Io_Sftp::write(), as per its definition the second parameter should be a local file but as per the Net_SFTP:: put() it should be the content we want to write in file.

## Re: Method definition is incorrect ?

Yes You are correct,

Second Parameter are filename which belongs to your content.

```write	(\$filename,\$src,\$mode = null)