added FTP support to storage providers (#58)

* added FTP support to storage providers

* build and code style fix
This commit is contained in:
Saeed Vaziry
2023-09-24 12:50:01 +02:00
committed by GitHub
parent 2c81e324f6
commit 7d98986f52
23 changed files with 409 additions and 27 deletions

View File

@ -14,6 +14,20 @@ class ConnectProvider extends Component
public string $token;
public string $host;
public string $port;
public string $path = '/';
public string $username;
public string $password;
public int $ssl = 1;
public int $passive = 0;
public function connect(): void
{
app(CreateStorageProvider::class)->create(auth()->user(), $this->all());