I tried to create an application that will download files from different ftp servers to a local directory. Later I uploaded them to other ftp servers.
The application is built using the Zend framework.
The fact is, I canβt find a class for handling ftp load / unload functions within Zend.
The only class available is Zend_File_Transfer , which has the following comment:
Note: restriction
The current implementation of Zend_File_Transfer is limited to downloading HTTP messages. Other adapters that support booting and other protocols will be added in future releases. Unrealized methods will throw an exception. For now, you should use Zend_File_Transfer_Adapter_Http directly. Once multiple adapters are available, you can use a common interface.
I need to do the following:
- Download multiple files.
- Get a list of deleted directories of all files.
- Install validators
- Set filters
- Set paths
- Rename Files
- Download Wrap
- Exceptions for various errors during operation.
Is there a solution to this problem within Zend? Could you recommend an alternative library for ftp operations?
Thanks in advance
UPDATE:
- I checked the PEAR package and, unfortunately, is still in alpha release. Moreover, their functions return no exception errors as soon as a problem occurs, for example, a boot failure or a remote path.
- Unfortunately, Skjb_Ftp is not complete, as many functions do not have an implementation.
source share