Hi Pete,

Thanks for that, but there is no option to ignore extension i.e. so that 
extension are taken care of  as for now you I can set new file name to time() 
but it don't seems to keep the extension. Or do i have to do my own filter for 
this purpose?

Thanks


From: Peter Warnock 
Sent: Tuesday, July 21, 2009 12:38 AM
To: Muhammad Ali 
Subject: Re: [fw-general] Zend_Form_Element_File and random files name


Take a look at 
http://framework.zend.com/manual/en/zend.file.transfer.filters.html#zend.file.transfer.filters.rename

- pw


On Mon, Jul 20, 2009 at 4:28 PM, Muhammad Ali <[email protected]> wrote:

  Hi 

  I am trying to have time() being used for uploaded files and not the name 
provided by the client(browser), I think I can work around but wanted to check 
if anyone else has done similar stuff or what is the best way to do this?
  As by default doing getValue() on file element will upload it with its 
default name.

  Thanks

Reply via email to