Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding chmod in sftp feature #57

Open
GillesCrebassa opened this issue Jul 8, 2016 · 1 comment
Open

adding chmod in sftp feature #57

GillesCrebassa opened this issue Jul 8, 2016 · 1 comment

Comments

@GillesCrebassa
Copy link

Hi,

I have added 'chmod' feature on sftp (due after send, to execute script), I don't know the process to pull an update of the code, so it's only in sftp.php:

/**
 * Creates a directory
 *
 * @param  string $filename The filename to resolve
 * @param  int     $mod       The permissions on the new filename
 *
 * @return Boolean
 */
public function chmod($filename, $mod = 0600)
{
    return ssh2_sftp_chmod($this->getResource(), $filename, $mod);
}

Br,
Gilles

@oanhnn
Copy link

oanhnn commented Jul 8, 2016

I am implement this feature and create a pull request.
Thank @GillesCrebassa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants