you should rather put this question on stackoverflow.com, catch the error message, paste your code so experts can understand what's going wrong.
Example : http://stackoverflow.com/questions/2532478/how-to-upload-images-from-iphone-app-developed-using-titanium
Have you tried the Titanium support desk? It seems like that might be a good place for this question if you haven't posed it already:
Did you try this?