Dec 11
Justin Purdie File_Uploads in 8.5
Dec 11, 2013; 11:47
Justin Purdie
File_Uploads in 8.5
We are having an issue with attaching an uploaded file to an email. The
code we are using to do this is:
Iterate: File_Uploads, (Var: 'upload');
Var: 'origname' = $upload->(Find: 'origname');
Var: 'size' = $upload->(Find: 'file')->Size;
#emailText += $origname + ' / ';
#sumsize = math_add(#sumsize,$size);
$attachments->(Insert: $origname = $upload->(Find: 'file')->(Read: $size));
/Iterate;
This works fine on the dev machine that it was developed on but when we
move the code to another server, it is giving an error when trying to get
the file contents using $upload->(Find: 'file')->(Read: $size) where it is
saying that $upload->(Find: 'file') is null. Has anyone else run into this
issue or have any idea what may be causing it?
FWIW, we are using 8.5
Thanks
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Dec 11
Tim Taplin Re: File_Uploads in 8.5
Dec 11, 2013; 13:43
Tim Taplin
Re: File_Uploads in 8.5
Dec 11
Steve Piercy - Web Site Builder Re: File_Uploads in 8.5
Dec 11, 2013; 14:43
Steve Piercy - Web Site Builder
Re: File_Uploads in 8.5
Dec 12
Justin Purdie Re: File_Uploads in 8.5
Dec 12, 2013; 11:55
Justin Purdie
Re: File_Uploads in 8.5
Dec 12
Steve Piercy - Web Site Builder Re: File_Uploads in 8.5
Dec 12, 2013; 11:08
Steve Piercy - Web Site Builder
Re: File_Uploads in 8.5