Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/Ssh/Sftp.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,21 @@ public function listDirectory($directory, $recursive = false)
);
}

/**
* Creates a directory
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong comment

*
* @see http://php.net/manual/en/function.ssh2-sftp-chmod.php
*
* @param string $filename The filename to resolve
* @param int $mod The permissions on the new filename
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong comment

*
* @return Boolean
*/
public function chmod($filename, $mod = 0600)
{
return ssh2_sftp_chmod($this->getResource(), $filename, $mod);
}

/**
* {@inheritDoc}
*/
Expand Down