I am building an application that will create a PDF and then it needs to FTP the file over to a different server, because it builds the PDF on a ColdFusion 8 Server and the server that runs the website is a ColdFusion 5 server... don't ask why I have a ColdFusion 5 server running on my network... I am not the boss. So Anyways I have the application building the PDF but I don't know CF FTP much.
CODE
<cfftp action="open" connection="CTAcademy" server="********" username="******" password="******">
<cflocation url="/CT_STEM_TEMP.pdf" addtoken="no">
</cffunction>
</cfcomponent>
Sorry I had to clear out my server information.
EDIT:
I have a gotten a little closer to fixing it.
CODE
<cfftp action="putfile" server="******" connection="CTAcademy" username="******" password="******" localfile="C:\CustomerSites\CTAcad PDF Maker\CT_STEM_TEMP.pdf" remotefile="/files/CT_STEM.pdf">
<cflocation url="/CT_STEM_TEMP.pdf" addtoken="no">
</cffunction>
</cfcomponent>
I now get a 550 error (Access denied) All my login info is correct though. Is there anything else that it could be?
This post has been edited by xheartonfire43x: 28 May, 2009 - 06:43 AM