Hi. I don't understand when I should use send() and receive() methods. I think that send() should send file(s) from place where our application is to another place. And receive() should receive file to place where application is. For example, if I want store at ftp server file from user uploaded by http post, I do it like that:
$form->file->receive(); $files = new Zend_File_Transfer('FTP', array('user' => 'adam', 'pwd' => 'sandler', 'server' => 'ftp.myserver.com/public')); $files->addFiles($form->file->getFileName) ->send(); But in examples from proposal we have: FTP Download: "The API can also be used for downloads. It will work as wrapper so the user does not see where the original files is located and ZF will send the file to the user." and it use send(). I think it should use receive() to receive file from ftp, and then send it to user by echoing content or something else, but nod send() method from FTP adapter. Kind, regards, pch -- Paweł Chuchmała pawel.chuchmala at gmail dot com