[ http://mc4j.org/jira/browse/STS-275?page=all ]

Tim Fennell resolved STS-275.
-----------------------------

    Fix Version/s: Release 1.4.1
       Resolution: Fixed

This is actually fixed by STS-270.  When the renameTo() call fails the copy 
using streams method doesn't mind if the file already exists, it just truncs 
the file at that location and writes into it.

> Add FileBean.save overload that allows for overwriting of an existing file
> --------------------------------------------------------------------------
>
>                 Key: STS-275
>                 URL: http://mc4j.org/jira/browse/STS-275
>             Project: Stripes
>          Issue Type: New Feature
>            Reporter: Alec Wysoker
>         Assigned To: Tim Fennell
>             Fix For: Release 1.4.1
>
>
> Currently, FileBean.save fails if the target file already exists.  It would 
> be nice if there were a way to allow it to save a file that already exists.  
> At minimum it would be nice if that could happen if the target file is 0 
> length.  That way, one could use File.createTempFile() to generate a unique 
> target filename.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to