r 09, 2008 1:07 AM
Subject: Re: [fw-general] Zend_File_Transfer addFilter('Rename', ...
exceptions are on... and the validators do work ( see attached screen
capture
of error when I try to upload a pdf)
I got :
$upload->addFilter('Rename', '/v
exceptions are on... and the validators do work ( see attached screen capture
of error when I try to upload a pdf)
I got :
$upload->addFilter('Rename', '/var/www/gefanuc/web/files/newname.jpg', 1);
from
http://www.thomasweidner.com/flatpress/2008/09/07/destination-and-renaming-of-uploaded-fil
t; <[EMAIL PROTECTED]>
To:
Sent: Wednesday, October 08, 2008 10:11 PM
Subject: [fw-general] Zend_File_Transfer addFilter('Rename', ...
My file is uploading, and being error checked, but it's not being renamed
but
I can't figure out why:
$upload = new Zend_File_Transfer_A
My file is uploading, and being error checked, but it's not being renamed but
I can't figure out why:
$upload = new Zend_File_Transfer_Adapter_Http();
$upload->addValidator('FilesSize', array('3kB', '4MB'));
$upload->addValidator('Extension', array('gif', 'jpg'));
$upload->setDestination('/var/