Digital goods file names in 7.0.2 not compatible
Digital goods file names in 7.0.2 not compatible
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.
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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Digital goods file names in 7.0.2 not compatible
I have reported the issue in bugs.
Re: Digital goods file names in 7.0.2 not compatible
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.
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
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.MarcD wrote: a secondary issue of not being able to add files over the 4MB .net upload limit.
Re: Digital goods file names in 7.0.2 not compatible
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.
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.
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Digital goods file names in 7.0.2 not compatible
What characters do you commonly use in file names? Perhaps we made it a touch too restrictive.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Digital goods file names in 7.0.2 not compatible
For me, I use spaces and dashes. I think it's the spaces causing the grief in my case...Logan_AbleCommerce wrote:What characters do you commonly use in file names? Perhaps we made it a touch too restrictive.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Digital goods file names in 7.0.2 not compatible
Mainly spaces and underscores. We had a few apostrophes that we removed. The apostrophe was the main source of our problem.