• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfhttp not working in cf7

Guest
Jan 17, 2008 Jan 17, 2008

Copy link to clipboard

Copied

This code was working fine in cf5.
Not working in cf7. Any idea?.
How to find, why this code is not working in CF7?.

<cfhttp method="post" url=" http://ser01/appsrv/systemcall.do" port="80" throwonerror="Yes">
<cfhttpparam type="formfield" name="adapter" value="user">
<cfhttpparam type="formfield" name="action" value="import">
<cfhttpparam type="formfield" name="option" value="restrict">
<cfhttpparam type="formfield" name="timestamp" value="#timeval#">
<cfhttpparam type="formfield" name="auth" value="#authstr#">
<cfhttpparam type="file" name="filename" file="#dirxml#\#Dateformat(now(),'mmddyyyy')#.xml">
</cfhttp>
TOPICS
Advanced techniques

Views

419

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 21, 2008 Jan 21, 2008

Copy link to clipboard

Copied

How to debug this?.

<cfdump var="#http.fileContent#"> ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 21, 2008 Jan 21, 2008

Copy link to clipboard

Copied

> How to debug this?.

<cftry>
<cfhttp>
</cfhttp>
<cfdump var="#http#">
<cfcatch type="any">
<cfdump var="#cfcatch#">
</cfcatch>
</cftry>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 25, 2008 Jan 25, 2008

Copy link to clipboard

Copied

Thanks Bk.

Not giving any error message...but not working.

Why so?. How can i fix this?.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 25, 2008 Jan 25, 2008

Copy link to clipboard

Copied

LATEST
what is change in CF7 for cfhttp and cfhttpparam compared to CF5?.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation