[rt-users] Storing custom field file to local file system

Tom Lahti toml at bitstatement.net
Wed Jun 3 12:54:45 EDT 2009


Kevin Falcone wrote:
> On Jun 3, 2009, at 7:23 AM, BJ Blanchard wrote:
> 
>> Thanks Tom - but actually my custom field IS defined as "Upload one  
>> file" (or an attachment).
>>  My problem is saving that attachment from RT to /tmp (for  
>> manipulation from command-line script).
>>  There must be some non-http method of extracting the attachment to  
>> a file?
> 
> Look at Download/CustomFieldValue/dhandler
> 
> You need to get an ObjectCustomFieldValue object and then fetch the  
> LargeContent

Also, if its an attachment you can get it through the REST interface.

http://wiki.bestpractical.com/view/REST


-- 
-- ============================
   Tom Lahti
   BIT Statement LLC

   (425)251-0833 x 117
   http://www.bitstatement.net/
-- ============================



More information about the rt-users mailing list