Zen Cart Logo

Uploading large files??

Locked

Views: 1,953

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
26 May 2010, 5:05 PM
#1
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Uploading large files??

Hello all,

I currently have an attribute called 'Upload your Artwork:' that allows customers to upload their file, it doesn't work with large files (files can be up to 250 MB). It can be seen here: http://www.kcbgraphics.com/index.php?main_page=product_info&cPath=10_6_231&products_id=1083

I would like to replace this attribute and add an attribute to all my products that is just a link/icon to an EZ page that has a widget from yousendit or loadingdock that allows unlimited file size uploads.

I assume that this can't be done using regular option/option values.
I am wondering if this can be done and how?
Any help would appreciated. Thank you!!:smile:

26 May 2010, 5:43 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Uploading large files??

Adding a link to yousendit is not the difficult part... Associating whatever is being sent with a specific order IS the challenge.

If 100 customers place an order and you get 100 files through yousendit... how are you going to know what file belongs to what order?

I may have a solution... let me mull on it for a while

26 May 2010, 5:53 PM
#3
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Uploading large files??

schoolboy:

Adding a link to yousendit is not the difficult part... Associating whatever is being sent with a specific order IS the challenge.

If 100 customers place an order and you get 100 files through yousendit... how are you going to know what file belongs to what order?

I may have a solution... let me mull on it for a while

Good point!
They would have to enter their email address for the yousendit upload and also for the order... you could associate it that way.

26 May 2010, 6:03 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Uploading large files??

OK... so that resolves the problem of linking the file to an order...

Now... I think it would be better to let them get all the way to checkout, pay for the service, then be given a link to the yousendit page... (on the checkout_success page)

what do you think?

(Of course they get some strong alerts along the way reminging them to do that... plus an alert on the checkout_success page)

If they fail to use the link, at least you have their order, their money and their email address :D

26 May 2010, 7:37 PM
#5
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Uploading large files??

That sounds like a perfect solution. Now....can I do it?:blush:
I'll have to think about it!

Thank you for your input on this Schoolboy!!

26 May 2010, 9:20 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Uploading large files??

The nice thing about putting the YOUSENDIT link on checkout success is that you can apply the link around a lot of other info, simply by editing the checkout success page:

admin >>> tools >>> define pages editor >>> define_checkout_success.php.

27 May 2010, 12:35 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Uploading large files??

For customer uploads you might also look into the Maximum Values:

Maximum File Upload Size
What is the Maximum file size for uploads?
Default= 2048000

27 May 2010, 10:59 AM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Uploading large files??

Ajeh:

For customer uploads you might also look into the Maximum Values:

I thought about this Linda... does it have an upper ceiling? ... and the OP here is talking about files that are really big... Is HTTP the most appropriate transport method for such large files? could there be time-out issues?

27 May 2010, 4:36 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Uploading large files??

The Zen Cart setting will be overridden by the server setting ...

If the limit on the server is lower than what you want, then you will need to speak to your hosting provider ...

The Zen Cart limit is the limit you, the Admin, want to set for the files you accept so that if your server limit is 10mb and you only want 3mb then you can control it ...

6 Jun 2010, 1:58 PM
#10
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Uploading large files??

Ajeh:

The Zen Cart setting will be overridden by the server setting ...

If the limit on the server is lower than what you want, then you will need to speak to your hosting provider ...

The Zen Cart limit is the limit you, the Admin, want to set for the files you accept so that if your server limit is 10mb and you only want 3mb then you can control it ...

Hi Linda,

I've tried tweaking my Zen Cart settings and working with my host but I've never been able to get large uploads to work properly.

I think schoolboys' solution is my best bet! I'll be trying it in the next couple of weeks.

Thank you for your input!

1 Jul 2010, 8:04 PM
#11
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Uploading large files??

Sorry to revisit this a month later.........

I was browsing hot scripts and they have various Java applets that are File Uploaders for both FTP and HTTP. They have unlimited upload size, upload progress bars and other features. Would there be anything in Zen Cart to prevent these from being a functional solution?

Any comments are appreciated. Thanks !!

2 Jul 2010, 2:55 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Uploading large files??

Why not just add a bit of javascript to the page so that when the submit button is clicked a little animated gif shows up while the upload is happening? No actual progress indicator is really needed, just something to let people know that the upload is in progress, right?
Actual upload progress-meters are very complicated to do without hacking up a lot of core code, and even then are iffy. But at least a visual would do the job, wouldn't it?

2 Jul 2010, 6:46 PM
#13
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Uploading large files??

DrByte:

Why not just add a bit of javascript to the page so that when the submit button is clicked a little animated gif shows up while the upload is happening? No actual progress indicator is really needed, just something to let people know that the upload is in progress, right?
Actual upload progress-meters are very complicated to do without hacking up a lot of core code, and even then are iffy. But at least a visual would do the job, wouldn't it?

Thank you for the reply DrByte.

It isn't just the visual aspect of it. I'm actually looking for an alternative to the "Upload your Artwork" attribute that I use on every product page. This doesn't seem to function for large uploads; anything over 2-3 megs doesn't upload and there isn't anything that tells the customer that it didn't upload.

I have clients that have files in the 250meg range. Schoolboy recommended using the 'Checkout Success' page as a spot to put a file upload option. I thought the applet option would work on that page.

Do you think this is a functional option?

2 Jul 2010, 8:50 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Uploading large files??

I can't comment on the 3rd-party applets you're thinking of, not only because you've not named them, but also because it's outside the scope of core Zen Cart functionality.
Sounds like you've got some technical research and experimentation to do for your unique needs.