Re: [fw-general] rename filter not work correctly

2009-03-03 Thread Thomas Weidner

Jacky,

Your description is quite confusing.
When you can give a code example somebody of us could be able see your 
failure.


Greetings
Thomas

- Original Message - 
From: "Jacky Chen" 

To: 
Sent: Tuesday, March 03, 2009 9:07 AM
Subject: [fw-general] rename filter not work correctly



Hi zfer,
it seem that the file rename filter not work correctly,it not rename the
file when i upload the file first,but it worked when i upload the same 
file

after the first.
for example,i add a rename filter that set target to c.jpg,and then upload 
a
file named a.jpg,but the uploaded file would remain the name of a.jpg,then 
i

upload file a.jpg again,rename worked,in the destination directory,there
would be two files(a.jpg,c.jpg).

sorry for my poor english.

Best Regards
Jacky





Re: [fw-general] rename filter not work correctly

2009-03-03 Thread vadim gavrilov
Seems as it will rename it only if the name of the uploaded file already
exists in the directory. Not sure though.

On Tue, Mar 3, 2009 at 10:07 AM, Jacky Chen  wrote:

> Hi zfer,
> it seem that the file rename filter not work correctly,it not rename the
> file when i upload the file first,but it worked when i upload the same file
> after the first.
> for example,i add a rename filter that set target to c.jpg,and then upload
> a file named a.jpg,but the uploaded file would remain the name of a.jpg,then
> i upload file a.jpg again,rename worked,in the destination directory,there
> would be two files(a.jpg,c.jpg).
>
> sorry for my poor english.
>
> Best Regards
> Jacky
>



-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.


[fw-general] rename filter not work correctly

2009-03-03 Thread Jacky Chen
Hi zfer,
it seem that the file rename filter not work correctly,it not rename the
file when i upload the file first,but it worked when i upload the same file
after the first.
for example,i add a rename filter that set target to c.jpg,and then upload a
file named a.jpg,but the uploaded file would remain the name of a.jpg,then i
upload file a.jpg again,rename worked,in the destination directory,there
would be two files(a.jpg,c.jpg).

sorry for my poor english.

Best Regards
Jacky