loydwilson
IS-IT--Management
- Mar 30, 2001
- 8
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="path="c:\cfusionmx\ multipart="Yes">
<cfhttpparam type="file" name="712_4412359_1.jpg" file="c:\cfusionmx\</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
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="path="c:\cfusionmx\ multipart="Yes">
<cfhttpparam type="file" name="712_4412359_1.jpg" file="c:\cfusionmx\</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