Skip to content

Commit 3e1786e

Browse files
committed
Update README.md
1 parent 6ac01c4 commit 3e1786e

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Lazzard/FtpClient
22

33
[![Stable Version](https://img.shields.io/packagist/v/lazzard/php-ftp-client?color=success&label=stable)](https://packagist.org/packages/lazzard/php-ftp-client)
4-
![Tested on](https://img.shields.io/badge/tested-5.6.4-blue)
4+
![Tested on](https://img.shields.io/badge/tested-5.6.4-lightgray)
55
[![Minimum PHP version](https://img.shields.io/packagist/php-v/lazzard/php-ftp-client)](https://packagist.org/packages/lazzard/php-ftp-client)
6+
[![Release date](https://img.shields.io/github/release-date/lazzard/php-ftp-client?color=red&label=last%20version)](https://packagist.org/packages/lazzard/php-ftp-client)
67
[![Downlaods](https://img.shields.io/packagist/dt/lazzard/php-ftp-client?color=blueviolet&style=social)](https://packagist.org/packages/lazzard/php-ftp-client)
78

89
An FTP Client library that wraps the FTP extension functions in an OOP way.
@@ -11,7 +12,7 @@ An FTP Client library that wraps the FTP extension functions in an OOP way.
1112

1213
## Requirements
1314

14-
* PHP version >= 5.5.0.
15+
* PHP version >= 5.6.0.
1516
* FTP extension enabled.
1617

1718
## Installation
@@ -54,12 +55,12 @@ $connection->open();
5455

5556
After creating an FTP connection you may need to set some options like turning the connection to the passive mode, well for that we provide the `FtpConfig` class that includes methods to manage the FTP connection and set its runtime options.
5657

57-
58-
**option** | default | description
59-
--- |--- |---
60-
passive | false | Turning the passive mode ON/OFF.
61-
timeout | 90 | Sets timeout value of all FTP transfer operations.
62-
autoSeek | true | Should be sets to true.
58+
option | class method | default | description
59+
--- |--- |--- |---
60+
passive | setPassive | false | Turning the passive mode ON/OFF.
61+
timeout | setTimeout | 90 | Sets timeout value of all FTP transfer operations.
62+
autoSeek | setAutoSeek | true | Should be sets to true to resume transfer operations.
63+
usePassiveAddress | usePassiveAddress | true | Whether or not to use the passive IP address returned after sending the passive command through the control channel.
6364

6465
**Example of turning on the passive mode:**
6566

0 commit comments

Comments
 (0)