Skip to content

Conversation

@Whyounes
Copy link
Contributor

Q A
Bug fix? Yes
New feature? No
BC breaks? No
Deprecations? No
Fixed tickets N/A

The Ssh\Sftp\send method return false on failure. The !$this->session->getSftp()->send($local, $remote) check will throw and exception if the file is empty (0 bytes sent).

antonmedv added a commit that referenced this pull request Mar 22, 2016
@antonmedv antonmedv merged commit e4b7e75 into deployphp:master Mar 22, 2016
@antonmedv
Copy link
Member

Thanks

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

Successfully merging this pull request may close these issues.

2 participants