>>  I always like the easiest solution...
>>  When you send the file, append a UUID to the filename then s
>>  trip it off when done.

Me too :).  It just took me a while to figure out how to get Plupload to add
a unique fileID field for each file added to the queue.   Ben Nadel's
article is what turned on the lights for me.

http://www.bennadel.com/blog/2506-storing-per-file-multipart-params-in-the-p
lupload-queue.htm


Dennis Powers
UXB Internet - A website Design and Hosting Company
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
W: http://www.uxbinternet.com
W: http://www.ctbusinesslist.com


-----Original Message-----
From: Al Musella, DPM [mailto:[email protected]] 
Sent: Saturday, July 05, 2014 11:15 AM
To: cf-talk
Subject: RE: The state of Statlessness


I always like the easiest solution...
  When you send the file, append a UUID to the filename then strip it off
when done.
  If he tries to send 2 files with the same name, when you strip off the
UUID, check if that original filename is present already - if it is, make it
unique (add a _2 or _3, etc... checking each time for conflict)




>I wonder if something server side could handle this maybe as well.
>
>So user initiates a new upload already in progress under the same name, 
>different file or not. Assuming on the server side you could check for 
>uploads in progress already for that user/session, return an error code 
>to the client? Overhead would be minimal as you would only really have 
>to perform the check on the first block of a file being uploaded.
>
>
>Byron Mann
>Lead Engineer & Architect
>HostMySite.com
>On Jul 4, 2014 12:07 PM, "UXB" <[email protected]> wrote:
>
> >
> > Byron,




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358824
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to