It's entirely possible. I do something similar to the following(assuming that your Field ID->Value inforamtion is stored in an array called @ticket_information):
... my @size = (); my %attachment = (); if(-f $file) { @size = stat($file); %attachment = (file => $file, size => $size[7]); push(@ticket_information, 'fieldid', \%attachment); #by ref } ... my $ticket = ars_CreateEntry($ctrl, $schema, @ticket_information) || return error($ctrl, $ars_errstr); -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve McDonald Sent: Wednesday, July 16, 2008 12:02 PM To: ARSperl User Discussion Subject: [Arsperl-users] Attachments via ars_CreateEntry Hello! Is it possible to submit an attachment via ars_CreateEntry? I have a webform with an attachment field and would like to submit the attached file with the ticket. Thanks in advance for your help. Steve ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users