RE: The state of Statlessness

2014-07-06 Thread UXB

 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,

That was the problem.  What you get from the client on each form post was
three fields the name of the file, the chuck data and the number of total
chucks.  If you open another browser window you have the same session ID so
there was nothing unique about the two sessions and no way to track which
page was sending the data.  I thought of trying to keep track of what chunks
had been sent but that because cumbersome and pointless of there were two
different files with the same name.

The solution was within Plupload itself. By programmatically adding another
field to each individual file that was added to the queue containing a UUID
or unique name I could use that to accept the files then not worry about
multiple sessions or file names.  Once the file was accepted then I would
look for a name conflict and add a suffix (1), like Chrome does, to the file
name.

I have been running additional tests and it seems to work just fine with
even very large (1gig) files because each post is only 1 meg.

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



~|
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:358823
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: The state of Statlessness

2014-07-06 Thread UXB

  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:muse...@virtualtrials.com] 
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 denn...@uxbinternet.com 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


Need someone to help with site

2014-07-06 Thread Matthew Smith

I need someone to help with a site that has been down for a month. Will pay $50 
hour via Paypal. Please email info if you are interested.

~|
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:358825
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Need someone to help with site

2014-07-06 Thread Brian Cain

Hi Matthew,

What is the site?  Any specifics as to why the site is down?

Regards,
Brian Cain

Sent from my iPhone

 On Jul 6, 2014, at 8:18 PM, Matthew Smith chedders...@gmail.com wrote:
 
 
 I need someone to help with a site that has been down for a month. Will pay 
 $50 hour via Paypal. Please email info if you are interested.
 
 

~|
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:358826
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Need someone to help with site

2014-07-06 Thread Phillip Vector

Brian, refer to
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358715


~|
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:358827
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm