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: https://my.appcelerator.com/auth/login?redirect_to=http%3A%2F%2Fsupport.appcelerator.com%2F
Did you try this?
http://code.tutsplus.com/tutorials/titanium-mobile-build-an-image-uploader--mobile-8860