Another Question,
all the files I Upload get a "crazy name" ?? I'm uploading a ZIP file, and get's like....
90bf7383cc7b544d48a3bb67e0e33c30.dat
Is there a way to retreive the original name, how about the extension, why does it get as DAT. That would be much important....
Also i saw I can get a "file.idAccount" to see the owner of the file, but that's it... To get the user related (like name and last name for example) I have to get user by user with the loadUser and supply the idAccount? is that correct ?
Thanks;
Another question....
Why sometimes the CBManager.instance.LoadUser(int); returns a null for user, and sometimes not?
(suppling always a real id for the user), I cannot recognize a pattern... is just random ... any idea ?
The files are randomly set in the class FileUpload, I will add a config option to not rename the uploads in the next update. Not sure why you're having the file extension renamed from .zip to .dat, there's nothing hardcoded like this in FileUpload class.
About the LoadUser issue, it's probably a temporary internet connection lost sometimes because I never experienced this issue.
Anyway I'm in holidays now and will return back at work on 25th.
FRANCESCO CROCETTI @ SKARED CREATIONS
I realized the in the table CBuserFiles, theres a collum named "NAME" that was parcially implemented....
Made it work... guess I'll do fine now....
tks