Skip to content

Commit cdf539c

Browse files
committed
updated readme
1 parent b84f7fd commit cdf539c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ $auth = new \SSH2\Password(SFTP_USER, SFTP_PASSWORD);
1616
$sftp = new \SSH2\SFTP(SFTP_HOST, $auth);
1717

1818
if ($sftp->is_connected() && $sftp->is_authenticated()) {
19-
// upload
20-
$sftp->put('/path/to/my/local/file', '/remote/file');
19+
// upload
20+
$sftp->put('/path/to/my/local/file', '/remote/file');
2121

22-
// download
23-
$sftp->get('/remote/file', '/local/destination/file');
22+
// download
23+
$sftp->get('/remote/file', '/local/destination/file');
2424
}
2525
```
2626

0 commit comments

Comments
 (0)