daniel-griffiths / filezilla-bat-generator
A class that generates bat files for connecting to FTP via FileZilla
v1.0.0
2017-06-26 19:54 UTC
Requires
- php: ~5.6|~7.0
This package is auto-updated.
Last update: 2025-01-26 01:40:53 UTC
README
A simple class that generates .bat files for connecting to FTP accounts via FileZilla.
Installation
Via Composer
composer require daniel-griffiths/filezilla-bat-generator
Usage
$filezilla = new DanielGriffiths\FileZilla; //required settings $filezilla->setUsername('username'); $filezilla->setPassword('password'); $filezilla->setHost('0.0.0.0'); //optional settings $filezilla->setPath('D:\MyCustomDirectory\FileZilla.exe'); $filezilla->setPort('25'); $filezilla->generate();
All methods are also chainable.
$filezilla = new DanielGriffiths\FileZilla; ->setUsername('username') ->setPassword('password') ->setHost('0.0.0.0') ->generate();