Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
themortal




Joined: Feb 08, 2008
Posts: 19
Location: The Realm

PostPosted: Tue Feb 12, 2008 10:11 pm
Reply with quote

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
 
View user's profile Send private message Visit poster's website
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Feb 12, 2008 11:50 pm
Reply with quote

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.
 
View user's profile Send private message Visit poster's website
themortal




Joined: Feb 08, 2008
Posts: 19
Location: The Realm

PostPosted: Wed Feb 13, 2008 2:20 am
Reply with quote

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
 
View user's profile Send private message Visit poster's website
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Wed Feb 13, 2008 12:13 pm
Reply with quote

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.
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©