The check is performed during the upload. If the filename exists already in 
the database it will not be uploaded twice. Cannot I use this "during 
uploading" time to check the content of the file?

Am Montag, 19. November 2012 01:04:56 UTC+1 schrieb Scott Ribe:
>
> On Nov 18, 2012, at 2:15 PM, Akvarel wrote: 
>
> > All rb files are executed in the server. Yeas, but when you try to 
> upload a file that already exists in the database, it does not let you do 
> so. So, it is possible to validate a file, namely a file name or extension 
> or size  before uploading the file. 
>
> What makes you think the check is performed before the upload? 
>
> -- 
> Scott Ribe 
> [email protected] <javascript:> 
> http://www.elevated-dev.com/ 
> (303) 722-0567 voice 
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/B7--NWT6AzAJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to