| @@ 135-137 (lines=3) @@ | ||
| 132 | $this->directories[$dir] = true;  | 
                                |
| 133 | }  | 
                                |
| 134 | ||
| 135 |         if (!$this->sftp->put($remote, $local, SFTP::SOURCE_LOCAL_FILE)) { | 
                                |
| 136 | throw new \RuntimeException(implode(PHP_EOL, $this->sftp->getSFTPErrors()));  | 
                                |
| 137 | }  | 
                                |
| 138 | }  | 
                                |
| 139 | ||
| 140 | /**  | 
                                |
| @@ 147-149 (lines=3) @@ | ||
| 144 |     { | 
                                |
| 145 | $this->checkConnection();  | 
                                |
| 146 | ||
| 147 |         if (!$this->sftp->get($remote, $local)) { | 
                                |
| 148 | throw new \RuntimeException(implode(PHP_EOL, $this->sftp->getSFTPErrors()));  | 
                                |
| 149 | }  | 
                                |
| 150 | }  | 
                                |
| 151 | ||
| 152 | /**  | 
                                |