I'm creating a file locally and then I'm trying to use File.upload to upload it. But the moment I invoke the upload method of File. it's giving me an error.
For example:
Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.
at flash.filesystem::File/resolveComponents()
at flash.filesystem::File/resolvePath()
it seems it will always give an error on the last preformed File action before
the .upload
Any ideas on that?

