Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
tftrandy #1
CFHTTP Put Method
Scenario is one in which I am moving image files from a local laptop running CF
Developer Server to a centralized CF Enterprise server. Have been utilizing
FTP to move these files with no problem but recently Fortune 500 client decided
too much security risk and wants to close FTP port. Appears that CFHTTP is
appropriate replacement as files are not submitted through a form in which case
CFFILE would be the appropriate tag but are identified by looping through and
implementation of CFDirectory tag.
Has anyone been able to utilize CFHTTP to put files onto remote server? Below
is sample of existing code that runs with no error but does not move the file:
<cfhttp method="put" url="http://oktst6.thefloorteam.com/field_service/"
path="c:\cfusionmx\wwwroot\photoupload\" multipart="Yes">
<cfhttpparam type="file" name="712_4412359_1.jpg"
file="c:\cfusionmx\wwwroot\photoupload\712_4412359 _1.jpg">
</cfhttp>
Any help provided would be greatly appreciated as I would prefer to stay in
pure CF versus utilizing addl Java or ASP.
Thanks in advance.
Randy
tftrandy Guest
-
CFHTTP
Hello, I need to send data from a CF page to an asp.net page for processing via a URL string. The ASP page takes three parameters. Those being... -
Is creationComplete=method() or initialize=method() theright solution for such kind of problem or ...?
Hi everybody, I am using web service in my flex application and I want to visualize some data from collection of objects taht I receive from my Web... -
CFHTTP get method on SSL page
Hi All, I'm using cfthttp tag to get xml data from a secure link. This tag is works fine with the regular page (http page) but it doesn't work with... -
CFHTTP help/clarification
Hello, I am using CFHTTP for the first time in this manner. What I am trying to do is take a 3rd party web sites form processing (a vendor we have a... -
CFHTTP help
We have an in-house built publication system that creates .htm files from database content. For a specific project, I need to modify the way that... -
Mr Black #2
Re: CFHTTP Put Method
The target server must be configured to accept "PUT" requests. Usually, it is
disabled.
Since your target server runs CF, it looks like in your case, CFFILE should
work. You just need to write a small CF program to handle uploads.
Mr Black Guest
-
tftrandy #3
Re: CFHTTP Put Method
I have used CFFile extensively to move more than 12000 photos per day from
field personnel to server. The issue that exists now is that I need to sweep a
directory of photos from a laptop running cfserver to the central enterprise cf
server. FTP is the way to do this but apparently client is going to block the
protocol. I have googled till I am blind, relative to utilizing remote server
paths versus absolute paths with CFFile. This has forced me to look at CFHttp
put method which again I have been able to run with no errors but neither does
file move.
If you have any suggestions to making this work it would be very helpful.
tftrandy Guest
-
travmak #4
Re: CFHTTP Put Method
Hello, Was a solution to your problem ever found? I have a similar issue with needing to movie files with no FTP available. Thanks.
travmak Guest



Reply With Quote

