Hi Andrew, Big question: How do I make reference to the file I just uploaded when using <CFMAILPARAM file="#systempath#\wirelessortho\attachments\#form.xrays#" disposition="attachment" remove="true">? The #form.xrays# is not bringing the file name.
<cffile action="upload" destination="#systempath#\wirelessortho\attachments\" nameconflict="makeunique" filefield="file1" accept="image/gif, image/jpeg, image/png"> Thanks for the help! Carmen Iriarte "Our mind is the most powerful tool we have. Nurture it!" See my vizify bio! <https://www.vizify.com/es/521595973f9ead0008000020> On Fri, Feb 21, 2014 at 7:08 PM, Carmen Iriarte <iria...@gmail.com> wrote: > Awesome! Thanks Andrew... Let me check that! :S > > > > Carmen Iriarte > Want a signature like mine? > <http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D22%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_22> > Click > here.<http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D22%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_22> > > > Carmen Iriarte > "Our mind is the most powerful tool we have. Nurture it!" > See my vizify bio! <https://www.vizify.com/es/521595973f9ead0008000020> > > > > > > On Thu, Feb 20, 2014 at 12:57 PM, Andrew Scott <andr...@andyscott.id.au>wrote: > >> >> http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec1553c-7fe9.html >> >> >> >> Regards, >> Andrew Scott >> WebSite: http://www.andyscott.id.au/ >> Google+: http://plus.google.com/113032480415921517411 >> >> >> >> On Thu, Feb 20, 2014 at 8:00 AM, Carmen Iriarte <iria...@gmail.com>wrote: >> >>> Hi Andrew, >>> >>> Thanks for the reply. Do you know if this is handle by either: <CFMAIL> >>> or the enctype="multipart/form-data" on the <CFFORM> or is it part of the >>> <CFMAILPARAM file="#Form.xrays#" disposition="attachment"> >>> >>> I'm trying to figure out how the information moves from a form to my >>> inbox :) >>> >>> Carmen Iriarte >>> Want a signature like mine? >>> <http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D22%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_22> >>> Click >>> here.<http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D22%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_22> >>> >>> >>> Carmen Iriarte >>> "Our mind is the most powerful tool we have. Nurture it!" >>> See my vizify bio! <https://www.vizify.com/es/521595973f9ead0008000020> >>> >>> >>> >>> >>> >>> On Wed, Feb 19, 2014 at 8:40 AM, Andrew Scott >>> <andr...@andyscott.id.au>wrote: >>> >>>> Carmen, >>>> >>>> There is a couple of things you need to be aware, first when ColdFusion >>>> uploads a file it is stored in a temporary location and is removed at the >>>> end of the request ( I believe), therefore you will need to use cffile to >>>> move the file to a location that is not web accessible, but accessible via >>>> ColdFusion. >>>> >>>> The location that you move the file too, will be the location that will >>>> be used for your initial question. >>>> >>>> Regards, >>>> Andrew Scott >>>> WebSite: http://www.andyscott.id.au/ >>>> Google+: http://plus.google.com/113032480415921517411 >>>> >>>> >>>> >>>> On Wed, Feb 19, 2014 at 5:34 PM, Carmen Iriarte <iria...@gmail.com>wrote: >>>> >>>>> Hi there, >>>>> >>>>> I was looking for an answer for a problem I'm running with CFmail and >>>>> I found this thread. >>>>> >>>>> I have a form that is requesting to submit a file, but when I call the >>>>> file from <CFMAIL> I don't receive the entire logic path to the file, just >>>>> the file name. >>>>> Any idea how to get the entire path? >>>>> >>>>> I'm using this on the form to collect the file name: >>>>> <input type="file" name="xrays" id="xrays" accept="image/jpeg"> >>>>> >>>>> And this with the <CFMAIL.. >>>>> <CFMAILPARAM file="#Form.xrays#" disposition="attachment"> >>>>> >>>>> This is the error I'm receiving: >>>>> The resource IMG_5868.JPG was not found. >>>>> >>>>> Any ideas? >>>>> >>>>> Thanks, >>>>> >>>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "cfaussie" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/cfaussie/7THS2h_j518/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> cfaussie+unsubscr...@googlegroups.com. >>>> >>>> To post to this group, send email to cfaussie@googlegroups.com. >>>> Visit this group at http://groups.google.com/group/cfaussie. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "cfaussie" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to cfaussie+unsubscr...@googlegroups.com. >>> >>> To post to this group, send email to cfaussie@googlegroups.com. >>> Visit this group at http://groups.google.com/group/cfaussie. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "cfaussie" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/cfaussie/7THS2h_j518/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> cfaussie+unsubscr...@googlegroups.com. >> To post to this group, send email to cfaussie@googlegroups.com. >> Visit this group at http://groups.google.com/group/cfaussie. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To unsubscribe from this group and stop receiving emails from it, send an email to cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.com. Visit this group at http://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/groups/opt_out.