Would i be correct in thinking that it is uploaded in the front end but you want it to be stored on the admin side??
Anyhow you can set where the file is located in the component config. from the admin side toolbar select the config button in there you will find component permissions and component config (config button only available in administrator side)
by default its uploaded to
com_mycomponent/files/file_yourfieldname
you will see in component config an input box
- here you can define where the file is located when uploaded
- there are some predefined directories you can use such as [ROOT] [MEDIA]
- if you hover on the label you wil see the definitions available
- or you can create your own
- just a word of warning that if you just specify / in the box it will create it in the root of the drive such as c:\file_myfiled
So if you want it to go to admin side use [COM_ADMIN]/some_directory/ and it will be located in
[COM_ADMIN]/some_directory/file_[yourfieldname]