Skip to content

Commit 12a11a5

Browse files
author
Marco De Felice
committed
main commit
1 parent 1879c45 commit 12a11a5

16 files changed

+2166
-14
lines changed

README.md

+16-14
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1-
#PHP FTP/SFTP Connection Library
1+
# PHP File Transfer Connection Library
22

33
The PHP FTP/SFTP Connection Library is a versatile and user-friendly tool designed to facilitate seamless connections to FTP and SFTP servers. This library empowers developers to perform a wide range of file operations, including uploading, downloading, and reading files, as well as directory navigation.
44

5-
###Key Features:
5+
### Supported methods:
6+
- FTP
7+
- SFTP
8+
- S3 AWS
69

7-
Flexible Connectivity: Easily establish connections to both FTP and SFTP servers using a straightforward and consistent interface.
10+
### Key Features:
811

9-
Authentication Options: Support for various authentication methods, including password-based authentication, public/private key pairs, and agent-based authentication.
12+
- Flexible Connectivity: Easily establish connections to both FTP and SFTP servers using a straightforward and consistent interface
13+
- Authentication Options: Support for various authentication methods, including password-based authentication, public/private key pairs, and agent-based authentication.
14+
- SFTP Operations: Leverage the library's SFTP capabilities to securely transfer files over SSH, ensuring data integrity and confidentiality.
15+
- Upload and Download: Effortlessly upload files to remote servers or download files to the local system with intuitive methods provided by the library.
16+
- Directory Management: Navigate and manipulate remote directories, create new directories, or remove existing ones using simple yet powerful functions.
17+
- Error Handling: Robust error handling ensures that developers can identify and troubleshoot issues effectively, improving the reliability of file operations.
18+
- Easy to Integrate: Designed with simplicity in mind, the library seamlessly integrates into existing PHP projects, allowing developers to incorporate FTP and SFTP functionality effortlessly.
1019

11-
SFTP Operations: Leverage the library's SFTP capabilities to securely transfer files over SSH, ensuring data integrity and confidentiality.
20+
### Basic Usage
1221

13-
Upload and Download: Effortlessly upload files to remote servers or download files to the local system with intuitive methods provided by the library.
14-
15-
Directory Management: Navigate and manipulate remote directories, create new directories, or remove existing ones using simple yet powerful functions.
16-
17-
Error Handling: Robust error handling ensures that developers can identify and troubleshoot issues effectively, improving the reliability of file operations.
18-
19-
Easy to Integrate: Designed with simplicity in mind, the library seamlessly integrates into existing PHP projects, allowing developers to incorporate FTP and SFTP functionality effortlessly.
20-
21-
Cross-Platform Compatibility: Compatible with various server environments, making it suitable for projects deployed on different platforms.
22+
$ftp = new FtpSftpManager("user", "psw","localhost");
23+
$command = $ftp->getCommand();

composer.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "mlab/ftpservice",
3+
"description": "PHP FTP/SFTP Connection Library",
4+
"type": "library",
5+
"license": "GNU GPL",
6+
"autoload": {
7+
"psr-4": {
8+
"Mlab\\Ftpservice\\": "src/"
9+
}
10+
},
11+
"authors": [
12+
{
13+
"name": "Marco De Felice",
14+
"email": "[email protected]"
15+
}
16+
],
17+
"minimum-stability": "dev",
18+
"require": {
19+
"phpseclib/phpseclib": "~3.0",
20+
"aws/aws-sdk-php": "^3.288"
21+
}
22+
}

0 commit comments

Comments
 (0)