Re: WEBDAV Put using CFHTTP

2011-11-05 Thread Jorge Mazariegos

Hi Charles,

I just ran into the same problem as you described but in my case the webdav 
server is tied to the port 8086.
Meaning, I am getting the Status code issue.

Did you get to solve the issue?
I am using CFMX 9.0

Thank you,



 Thanks, I was using the CFHTTPPARAM to put a file which is on the 
 local file system to the WEBDAV host. This right now is not a web form 
 just a simple cfm page.
 
 Thanks,
 - Charles
 
   I seem to be getting closer. I'm now getting a 409 Conflict. I 
  really dont know much about the WEBDAV protocol. Does anyone know 
 what 
  a 409 Conflict is.
  
  It means that there's some reason why WebDAV can't accept the file.
  Maybe it's older than the one already there. Maybe you're providing
  incorrect parameters. Is there a reason why the name attribute of 
  your
  CFHTTPPARAM contains the value base.xml? Typically, this contains
  the name of the formfield that contains the file the server's
  expecting to receive.
  
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  
  Fig Leaf Software provides the highest caliber vendor-authorized
  instruction at our training centers in Washington DC, Atlanta,
  Chicago, Baltimore, Northern Virginia, or on-site at your location.
  Visit http://training.figleaf.com/ for more 
 information! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348474
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Dave Watts
 I have a WEBDAV server set up and I would like to post a file to it. I was 
 trying to use
 cfhttp and I keep getting a Connection Failure: Status code unavailable 
 error.

Can you check your web server's log files? Are you able to make a
regular HTTPS GET successfully?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314961
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Charles Heizer
Yea, I was able to connect via https using Safari just fine.

  I have a WEBDAV server set up and I would like to post a file to it. 
 I was trying to use
  cfhttp and I keep getting a Connection Failure: Status code 
 unavailable error.
 
 Can you check your web server's log files? Are you able to make a
 regular HTTPS GET successfully?
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more 
information! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314962
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Charles Heizer
I also just used Dreamweaver and it worked fine with put and get.

Thanks,
- Charles

  I have a WEBDAV server set up and I would like to post a file to it. 
 I was trying to use
  cfhttp and I keep getting a Connection Failure: Status code 
 unavailable error.
 
 Can you check your web server's log files? Are you able to make a
 regular HTTPS GET successfully?
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more 
information! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314964
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Casey Dougall
On Fri, Nov 7, 2008 at 1:54 PM, Charles Heizer [EMAIL PROTECTED] wrote:
 Hello,
 I have a WEBDAV server set up and I would like to post a file to it. I was 
 trying to use cfhttp and I keep getting a Connection Failure: Status code 
 unavailable error.

 Here is the simple code I'm using to test...

 cfhttp method=PUT url=https://myhost.com; username=user password=pass 
 throwonerror=true
cfhttpparam type=file name=base.xml file=/tmp/base.xml
 /cfhttp


You are most likely not doing anything wrong. cfhttp request to https
are a real pain!!! Coldfusion is most likely not reading your SSL cert
correctly and the error sucks!

If you can make a call using http and that works, then it's the ssl cert.

Try this link for information on how to resolve it but it is still a
pain in the ass!

http://www.bpurcell.org/blog/index.cfm?mode=entryentry=843

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314965
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Dave Watts
 Can you check your web server's log files? Are you able to make a
 regular HTTPS GET successfully?

 Yea, I was able to connect via https using Safari just fine.

No, I meant from CF, using CFHTTP.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314966
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Dave Watts
 You are most likely not doing anything wrong. cfhttp request to https
 are a real pain!!! Coldfusion is most likely not reading your SSL cert
 correctly and the error sucks!

Well, technically, it doesn't have to do with CF not reading the cert
correctly. For a certificate to be accepted, from CF or from a
browser, there has to be a corresponding trusted root certificate.
Each browser comes installed with a relatively large set of public
trusted root certificates from Verisign, Thawte and other vendors. CF
does not come with a large set of trusted root certificates, since
it's not a browser, and you have to install the appropriate trusted
root certificate yourself.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314967
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Charles Heizer
I tried it with http instead and no error, but it also did not put the file.

Any ideas?

You are most likely not doing anything wrong. cfhttp request to https
are a real pain!!! Coldfusion is most likely not reading your SSL cert
correctly and the error sucks!

If you can make a call using http and that works, then it's the ssl cert.

Try this link for information on how to resolve it but it is still a
pain in the ass!

http://www.bpurcell.org/blog/index.cfm?mode=entryentry=843 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314968
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Charles Heizer
I seem to be getting closer. I'm now getting a 409 Conflict. I really dont 
know much about the WEBDAV protocol. Does anyone know what a 409 Conflict is.

Thanks


I tried it with http instead and no error, but it also did not put the file.

Any ideas?

http://www.bpurcell.org/blog/index.cfm?mode=entryentry=843 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314969
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Dave Watts
 I seem to be getting closer. I'm now getting a 409 Conflict. I really dont 
 know much about the WEBDAV protocol. Does anyone know what a 409 Conflict is.

It means that there's some reason why WebDAV can't accept the file.
Maybe it's older than the one already there. Maybe you're providing
incorrect parameters. Is there a reason why the name attribute of your
CFHTTPPARAM contains the value base.xml? Typically, this contains
the name of the formfield that contains the file the server's
expecting to receive.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314975
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: WEBDAV Put using CFHTTP

2008-11-07 Thread Charles Heizer
Thanks, I was using the CFHTTPPARAM to put a file which is on the local file 
system to the WEBDAV host. This right now is not a web form just a simple cfm 
page.

Thanks,
- Charles

  I seem to be getting closer. I'm now getting a 409 Conflict. I 
 really dont know much about the WEBDAV protocol. Does anyone know what 
 a 409 Conflict is.
 
 It means that there's some reason why WebDAV can't accept the file.
 Maybe it's older than the one already there. Maybe you're providing
 incorrect parameters. Is there a reason why the name attribute of 
 your
 CFHTTPPARAM contains the value base.xml? Typically, this contains
 the name of the formfield that contains the file the server's
 expecting to receive.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more 
information! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314980
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4