Well CFHTTP is VERY buggy, so if you are posting cookies and you're on CF
above 4.5, you have to take care of how the server expects the cookies.
Everything above CF 4.5 will URLEncode the cookies values(and some versions
will URLEncode the names).  

Supposively there is a workaround by doing something like this:

<cfhttpparam  type="cgi" name="Cookie" value="cfid=123456" encoded="No">

Russ

  _____  

From: James Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 11:51 AM
To: CF-Talk
Subject: RE: Amazon AIMS

Using the "more than one way to skin a cat" method of programming I have
switched from cfhttp to cfexecute and cURL.exe and that is working fine so I
can only assume it is something that cfhttp isn't doing quite right.

--
Jay

> -----Original Message-----
> From: James Smith [mailto:[EMAIL PROTECTED]
> Sent: 10 September 2004 14:31
> To: CF-Talk
> Subject: RE: Amazon AIMS
>
> I did try the multipart="Yes" and I also had "text/plain" as
> the mime type but neither of these gave any different results :-(
>
> Any other ideas?
>
> > -----Original Message-----
> > From: Adam Haskell [mailto:[EMAIL PROTECTED]
> > Sent: 10 September 2004 14:10
> > To: CF-Talk
> > Subject: Re: Amazon AIMS
> >
> > Ahh you are using flat file....we used XML . 2 things I
> suggest would
> > be in the htto request define it is multiplart & maybe add the
> > mimetype for the file. If that fails try posting to
> yourself and look
> > at how the post looks by dumping it.
> >
> > Adam H
> >
> > On Fri, 10 Sep 2004 13:43:34 +0100, James Smith
> <[EMAIL PROTECTED]>
> > wrote:
> > > Then have you any idea why the following would return a
> > > NO_FILE_ATTACHED error?
> > >
> > > <cfhttp method="post" timeout="30" url=""
> > > type="file"  name="#FileName#"
> > > file="#CurrentDirectory#BUFiles\#FileName#">
> > >  <cfhttpparam type="cookie" name="session-id"
> > > value="(VARHEREREMOVED)">  <cfhttpparam type="cookie"
> > name="session-id-time"
> > > value="(VARHEREREMOVED)">
> > >  <cfhttpparam type="cookie" name="ubid-main"
> > value="(VARHEREREMOVED)">
> > > <cfhttpparam type="header"
> > >               name="Authorization"
> > >               value="Basic
> > > #tobase64('VARHEREREMOVED:VARHEREREMOVED')#">
> > >  <cfhttpparam type="header" name="UploadFor" value="Marketplace">
> > > <cfhttpparam type="header" name="FileFormat"
> value="TabDelimited">
> > > </cfhttp>
> > >
> > > > -----Original Message-----
> > > > From: Adam Haskell [mailto:[EMAIL PROTECTED]
> > > > Sent: 10 September 2004 13:29
> > > > To: CF-Talk
> > > > Subject: Re: Amazon AIMS
> > > >
> > > > I never called it AIMS but I think if you are talking about the
> > > > Merchant program feeds where you update stock, products
> > ect then yes
> > > > 2 other developer have. Myself and someone else I have
> > been helping
> > > > :)
> > > >
> > > >
> > > > Adam H
> > > >
> > > > On Fri, 10 Sep 2004 12:37:11 +0100, James Smith
> > <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > > > Has anyone here managed to get Amazons AIMS
> system working
> > > > > > > with ColdFusion?
> > > > > > > I am pulling my hair out over this and Amazon are
> > > > unable to help.
> > > > > > >
> > > > > > > I someone has even got it working in a different language
> > > > > > (Perl or asp
> > > > > > > for
> > > > > > > example) that may help also.
> > > > >
> > > > > > Are you talking about the Amazon web service?
> > > > > >
> > > > > > What version of CF are you using?
> > > > > > What is it you're trying to do?
> > > > > > What is the problem you are having?
> > > > > >
> > > > > > Stephen
> > > > >
> > > > > Sort Of, AIMS is the Automated Inventory Management System.
> > > > >
> > > > > I am using MX6.1
> > > > > I am trying to upload an inventory file I keep getting
> > a NO FILE
> > > > > ATTACHED error no matter how I send the file.
> > > > >
> > > > > --
> > > > > Jay
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to