[thelist] Coldfusion : CFFTP without source "file"
Bimal Shah
bimal.shah at venus.co.uk
Tue Dec 4 07:16:29 CST 2001
How exactly do you use cfcontent so that from a cf variable e.g
<cfset html_content = "Hello World">
to passing localfile using CFFTP e.g
<cfftp action="PUTFILE" stoponerror="No" localfile="??????"
remotefile="#FileOnRemoteSite#" transfermode="ASCII" connection="test"
passive="#passive#">
What do you put in ???????
It wants a file to send, it will not "run" the file (so using cfcontent
is no good).
Bimal
-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of matthew garrett
Sent: 04 December 2001 13:09
To: thelist at lists.evolt.org
Subject: Re: [thelist] Coldfusion : CFFTP without source "file"
The cfcontent tag can deliver the content directly to the user as a text
file (or other things) via their browser. No messy accumulation of files
needed. Just use the deletefile attribute in the tag.
I learned this from thelist, of course.
Good luck.
matt
> From: "Bimal Shah" <bimal.shah at venus.co.uk>
> Is there any way to transfer "content" e.g value in a coldfusion
> variable via ftp WITHOUT creating a file on the
> local server first place?
---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list