Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fadilxcoder/php-ftp
PHP FTP POC
https://github.com/fadilxcoder/php-ftp
code ftp packagist php poc
Last synced: about 1 month ago
JSON representation
PHP FTP POC
- Host: GitHub
- URL: https://github.com/fadilxcoder/php-ftp
- Owner: fadilxcoder
- Created: 2022-08-15T17:08:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-22T11:33:44.000Z (about 2 years ago)
- Last Synced: 2024-11-09T14:32:00.432Z (3 months ago)
- Topics: code, ftp, packagist, php, poc
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes
- RUN : `php script.php`
- Server file found on `www/server.txt` will be downloaded into `downloaded/local.txt`# Docs
- https://www.w3schools.com/php/php_ref_ftp.asp (PHP FTP Functions)
- https://flysystem.thephpleague.com/docs/ (File Storage Abstraction for PHP)
- https://packagist.org/packages/league/flysystem-ftp (Packagist)
- - https://flysystem.thephpleague.com/docs/adapter/local/ (Local Filesystem Adapter)
- - https://flysystem.thephpleague.com/docs/adapter/ftp/ (FTP Adapter)# Response
```
C:\wamp64\www\php-ftp\index.php:30:string 'Self local based file' (length=21)
C:\wamp64\www\php-ftp\index.php:54:string 'This file will be uploaded on server' (length=36)
C:\wamp64\www\php-ftp\index.php:70:
array (size=2)
0 => string 'admin' (length=5)
1 => string 'www' (length=3)
Saved file : downloaded/local.txtSuccessfully uploaded : Resource id #8
```