Download the PHP package 3slab/vdm-library-ftp-transport-bundle without Composer

On this page you can find all versions of the php package 3slab/vdm-library-ftp-transport-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package vdm-library-ftp-transport-bundle

VdmLibraryFtpTransportBundle

Not maintained anymore : use VdmLibraryFlysystemTransportBundle instead with VdmLibraryBundle v3.x

This source can collect data from a ftp server.

Configuration reference

Configuration Description
dsn the url you want to collect (needs to start by ftp or sftp)
retry_strategy.max_retries needs to be 0 because ftp transport does not support this feature
options.mode two mode available (move delete), move to deplace the file in other folder when it is treated, delete to remove it.
options.ftp_options options to manage your ftp actions
options.ftp_options.dirpath path to your directory
options.ftp_options.storage If you choose option move you have to configure this path.
options.monitoring.enabled if true, hook up in the vdm library bundle monitoring system to send information about the FTP response

Custom ftp executor

A custom ftp executor allows you to customize how you call the ftp server. It's necessary if you have differents action to make on files.

Just create a class in your project that extends Vdm\Bundle\LibraryFtpTransportBundle\Executor\AbstractFtpExecutor. It will automatically replace the default executor.

If you have 2 custom executor. Only a single one will be used, the second is ignored.

There are 2 important things your custom executor needs to do :

Note : thanks to the yield system, you can implement a loop in your execute function and return items once at a time

Note : you can keep state in your custom executor so if it is executed again, adapt your ftp call

Monitoring

If you enable monitoring, it will track the following metrics :


All versions of vdm-library-ftp-transport-bundle with dependencies

PHP Build Version
Package Version
Requires 3slab/vdm-library-bundle Version ^2.0@beta
league/flysystem-sftp Version ^1.0
league/flysystem Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package 3slab/vdm-library-ftp-transport-bundle contains the following files

Loading the files please wait ....