Hi : ) , i use "upload" datatype as a generic property in one of my document types, it works great
but is there a way that i can determine the location of the uploaded files to be saved on the server, coz all of the files are stored on the root , and i want to make a folder for these files,
This will automatically generate directories for files to go into. If you do need to be very specific about which directory files are saved into, I think you're going to need a custom data type. You could base it on the source for the standard Upload Field data type.
Hi Simon, thanks :) . but i checked this setting, it was set to true, but yet it still put the uploaded files on root, only in rich text editor it upload the files into media folder , but if using an upload field , it is still put on root ;)
thanks for the help man, i will try to c how to create a custom data type :)
specify the location to upload datatype
Hi : ) , i use "upload" datatype as a generic property in one of my document types, it works great
but is there a way that i can determine the location of the uploaded files to be saved on the server, coz all of the files are stored on the root , and i want to make a folder for these files,
any clue ?
thanks :)
Hi,
Take a look at http://our.umbraco.org/wiki/reference/files-and-folders/files-in-the-config-folder/umbracosettingsconfig and the setting UploadAllowDirectories
This will automatically generate directories for files to go into. If you do need to be very specific about which directory files are saved into, I think you're going to need a custom data type. You could base it on the source for the standard Upload Field data type.
Simon
Hi Simon, thanks :) . but i checked this setting, it was set to true, but yet it still put the uploaded files on root, only in rich text editor it upload the files into media folder , but if using an upload field , it is still put on root ;)
thanks for the help man, i will try to c how to create a custom data type :)
is working on a reply...