Page 1 of 1

Digital goods file names in 7.0.2 not compatible

Posted: Tue Mar 31, 2009 11:09 am
by AbleMods
It seems a significant change was made in 7.0.2 such that digital goods file names could not contain spaces.

However this was possible in previous versions.

Now when I upload an updated ZIP file, it gives it a different file name on the server by substituting underscores for spaces. This makes it a new file and thus my original digital good does not get overwritten. I can no longer update my digital goods.

Is there any other way to fix this without having to de-associate every single digital good, upload to the new filename format and reassociating each one to the store product?

That's a huge pain. I'm not even sure why it changed in the first place. I never had a problem with file names nor did any of my customers ever report one.

Re: Digital goods file names in 7.0.2 not compatible

Posted: Tue Mar 31, 2009 11:36 am
by mazhar
I have reported the issue in bugs.

Re: Digital goods file names in 7.0.2 not compatible

Posted: Fri Apr 03, 2009 10:26 am
by MarcD
Thanks for making the bug report. I'm assuming this is it: http://bugs.ablecommerce.com/show_bug.cgi?id=7897

You may already be aware of this part too, but other characters that were allowed in file names in earlier versions of AC (such as apostrophes) seem to create issues with access to the file view because the apostrophes create unclosed quotation mark errors when loading the DigitalGoodsFiles.aspx page.

To fix those issues at present, it seems that you have to remove the digital good and file from inside the standard view and then add it back in appropriately named and reassociate the file/digital good with the necessary store items (being careful not affect any existing orders).

Until you clear out all of those issues, you cannot access the file view which seems to create a secondary issue of not being able to add files over the 4MB .net upload limit.

Hope that helps.

Re: Digital goods file names in 7.0.2 not compatible

Posted: Sat Apr 04, 2009 2:47 am
by sohaib
MarcD wrote: a secondary issue of not being able to add files over the 4MB .net upload limit.
This one we will probably never be tackling in AC. For uploading files larger than 4MB one needs to be using FTP. Web-based uploads have limits. Webservers (and the HTTP protocol) are not designed for this kind of file transfers. This is exactly why there is a 4MB limit in IIS for file uploads.

Re: Digital goods file names in 7.0.2 not compatible

Posted: Sat Apr 04, 2009 6:21 am
by MarcD
Absolutely...sorry for the confusion. I just meant you couldn't use the store feature inside the file view to attach the files to digital goods until the misnamed files were renamed properly. I apologize if I'm confused on that, but it looks like, after the upgrade, the only way to add in/attach the larger files to the digital goods (once they are already uploaded to the digital goods folder) is to use the file view page.

We ran into that issue due to a file with an apostrophe in it sitting in the digital goods folder. We were able to delete the digital good through AC and copy it back over (via FTP) renamed properly. Once we did that, the file view page was available again. If we had a file in the digital goods folder with an apostrophe it caused the DigitalGoodsFiles.aspx page to throw a quotation mark error.

Completely a bad file naming issue on our end, but I thought it was worth passing on.

Thank you for all the hard work you guys are putting in.

Re: Digital goods file names in 7.0.2 not compatible

Posted: Wed Apr 15, 2009 9:02 pm
by Logan Rhodehamel
What characters do you commonly use in file names? Perhaps we made it a touch too restrictive.

Re: Digital goods file names in 7.0.2 not compatible

Posted: Wed Apr 15, 2009 9:11 pm
by AbleMods
Logan_AbleCommerce wrote:What characters do you commonly use in file names? Perhaps we made it a touch too restrictive.
For me, I use spaces and dashes. I think it's the spaces causing the grief in my case...

Re: Digital goods file names in 7.0.2 not compatible

Posted: Thu Apr 16, 2009 12:46 pm
by MarcD
Mainly spaces and underscores. We had a few apostrophes that we removed. The apostrophe was the main source of our problem.