Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Oct 10, 2019
1 parent 71f1127 commit 9ef062c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ try {
$client->connect($host, $port, $ssl, $timeout);
$client->login($username, $password);

// You usually want to set passive mode (PASV) on,
// if you're behind a NAT or firewall; see below for an explanation
// You usually want to set passive mode (PASV) on; see below for an explanation
$client->setPassive(true);
} catch (FtpException $e) {
// An error occurred!
Expand Down Expand Up @@ -163,6 +162,8 @@ $client->delete('path/to/file');
$client->removeDirectory('path/to/directory');
```

The directory must be empty, or an exception is thrown.

### Get the size of a file

```php
Expand Down

0 comments on commit 9ef062c

Please sign in to comment.