| Author |
Message |
themortal

Joined: Feb 08, 2008
Posts: 19
Location: The Realm
|
Posted:
Tue Feb 12, 2008 10:11 pm |
|
Hey NukeCoder.com,
First off I would like to say to Gotcha.... Thank you for the info you posted in another thread about getting the Digital Shop to run within the Nuke-Evolution 2.0.5 Software. I did what you said and got it working just fine. So thanks very much for that, I appreciate that a lot.
I have been testing it under the latest patch Nuke 8.1.0.3.4a release and with Nuke-Evolution 2.0.5 and this is the only thing I see that might or might NOT be an issue. But that is why I am posting this thread to find out if it is an issue or just the way you coded the Digital Shop.
When adding an item. When you go to upload a file, under the item file part. After it uploads, the file name gets changed. Here is a sample....
[ORIGINAL FILE UPLOADED]
../shopfiles/8de49rd-pearltheme-evopack2.0.5.ato.zip
[FILE SHOULD BE LIKE THIS]
../shopfiles/RD-PearlTheme-EvoPack2.0.5.ATO.zip
Notice the 8de49 that got added to the filename and that it changed it to lowercase.
Is this an issue with this current 2.0.7 version or the way you have it coded ?
Is there a way to get it to upload the file(s) with the exact filename ?
Thank you for your time...
Cheers,
- The Mortal |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Feb 12, 2008 11:50 pm |
|
Yes that is how it is written. In general, it is a good practice to keep weird characters and spaces out of filenames, especially on linux machines or those used for the web. I found that the best results were achieved by getting rid of any spaces or non alpha-numeric characters and setting the filename to lowercase.
The reason you get the extra 5 digits on the beginning is because a file with the same name already exists in the shopfiles folder. So instead of overwriting it, it adds a random 5 digit string on the front.
If you really want the filename to be exact, you can rename the file, then adjust the path on the edit item page. But I would suggest you make sure there are no spaces in the filename if you do rename it. |
| |
|
|
 |
themortal

Joined: Feb 08, 2008
Posts: 19
Location: The Realm
|
Posted:
Wed Feb 13, 2008 2:20 am |
|
| gotcha wrote: |
| Yes that is how it is written. In general, it is a good practice to keep weird characters and spaces out of filenames, especially on linux machines or those used for the web. I found that the best results were achieved by getting rid of any spaces or non alpha-numeric characters and setting the filename to lowercase. |
I figured that is how you had done it, just needed verification from you.
| Quote: |
The reason you get the extra 5 digits on the beginning is because a file with the same name already exists in the shopfiles folder. So instead of overwriting it, it adds a random 5 digit string on the front.
If you really want the filename to be exact, you can rename the file, then adjust the path on the edit item page. But I would suggest you make sure there are no spaces in the filename if you do rename it. |
Thats just the thing, there was NOT a file with the same name in the shopfiles folder. There was only 1 file in there from a previous test and it indeed did have the 2 beginning letters the same, the RD letters.
Could that be the part that gets considered the same ?
More likely it is. That I know how to deal with and is not a real big deal.
Thanks for the fast reply. I should be purchasing your Digital Shop on Friday.
Cheers,
- The Mortal |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Wed Feb 13, 2008 12:13 pm |
|
it should only add the 5 digit prefix if the file already exists and I will look into this behavior for the next version. Thanks. |
| |
|
|
 |
|
|