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.
Go to Solution.
Yes You are correct,
Second Parameter are filename which belongs to your content.
Check reference link,
write ($filename,$src,$mode = null)
Write a file
$src Must be a local file name