0
File upload using CFSCRIPT?
New Here
,
/t5/coldfusion-discussions/file-upload-using-cfscript/td-p/865868
Aug 08, 2008
Aug 08, 2008
Copy link to clipboard
Copied
I want to upload a file using code inside the cfscript tag. I
can only find ways to use it with the CMFL tags. I want to use the
script method due to other that depends on it in the cfscript tag.
How can I do this? Thanks.
Ryan
Ryan
TOPICS
Advanced techniques
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/coldfusion-discussions/file-upload-using-cfscript/m-p/865869#M79816
Aug 08, 2008
Aug 08, 2008
Copy link to clipboard
Copied
write a function with the tags and call it from
cfscript.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Valorous Hero
,
/t5/coldfusion-discussions/file-upload-using-cfscript/m-p/865870#M79817
Aug 08, 2008
Aug 08, 2008
Copy link to clipboard
Copied
rpeters1983 wrote:
> I want to upload a file using code inside the cfscript tag.
You could write a wrapper function that contains the cffile tag. Then call your custom function from inside your cfscript. The CFML library at cflib.org uses that concept. An example is the Dump function. It mimics the <cfdump> tag.
http://cflib.org/udf/Dump
> I want to upload a file using code inside the cfscript tag.
You could write a wrapper function that contains the cffile tag. Then call your custom function from inside your cfscript. The CFML library at cflib.org uses that concept. An example is the Dump function. It mimics the <cfdump> tag.
http://cflib.org/udf/Dump
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
rpeters1983
AUTHOR
New Here
,
/t5/coldfusion-discussions/file-upload-using-cfscript/m-p/865871#M79818
Aug 08, 2008
Aug 08, 2008
Copy link to clipboard
Copied
ah! makes perfect sense. Thanks!
<--- CF noob. sorry.
<--- CF noob. sorry.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/coldfusion-discussions/file-upload-using-cfscript/m-p/865872#M79819
Aug 08, 2008
Aug 08, 2008
Copy link to clipboard
Copied
> I want to use the script method due to other
> that depends on it in the cfscript tag
Really? I can't think what might *depend* on CFScript.
What is it?
--
Adam
> that depends on it in the cfscript tag
Really? I can't think what might *depend* on CFScript.
What is it?
--
Adam
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

