Re: ERAttachmentProcessor file upload
Re: ERAttachmentProcessor file upload
- Subject: Re: ERAttachmentProcessor file upload
- From: Mike Schrag <email@hidden>
- Date: Thu, 23 Jul 2009 08:11:53 -0400
http://webobjects.mdimension.com/wonder/api/er/attachment/package-summary.html
it talks some about the variable replacement -- you can use $
{fileName}, but this is not really safe ... if someone uploads a file
with the same name, it's going to be overwritten unless you namespace
it with the pk in is own directory or something. you can make it
return the original filename to the user, though, if you're using one
of the proxied viewers (i.e. as long as you're not serving files from
apache).
On Jul 23, 2009, at 4:13 AM, Rukmal Dias wrote:
hi,
Is it possible to give file name that we want in uploading files
using ERAttachmentProcessor.
When a file is uploaded (e.g: style.css) it is in a folder like this.
.//1/attachments/c/8/9/1.css
How do I upload a file (e.g: my_file.gif) to the same above
location with the mentioned name.
Thanks
Rumal Dias
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden