Hi.

I want to write file transfer adapter for MogileFS.

I have a little problem. Where I should put file downloading and uploading?
In http adapter files are already uploaded on server, so _FILE is used in
constructor.

My Use Cases looks like this:

$mfs = new Zend_File_Transfer_Adapter_MogileFS($domain, $class, $trackers);
$mfs->receive('file.pdf');
$mfs->receive(array('file1', 'file2', 'file3'));

So I think, that in ::receive I must download flie from remote systems and
then populate it to ::_files.

Am I right?

regards,

-- 
Paweł Chuchmała
pawel.chuchmala at gmail dot com

Reply via email to