Copy link to clipboard
Copied
Hello,
I created a pdf report and putfile in FTP folder.
In my application, i need to add a link. Link should point to file on FTP.
How to do?
When give FTP server information in link,
while browsing it add CF server path and never get to the file.
What is best way to fix this?
Copy link to clipboard
Copied
If the intent is to deliver the file using ftp, a link to the file will not accomplish that. Instead, link to a cold fusion page that gathers information on where to send it, and then does so using cfftp.
Copy link to clipboard
Copied
Well you can link to a ftp file if you want to.
<a href="ftp://my.ftp.server/aDirectory/theFile">FTP This File</a>
But the question is still what the orginal poster is really trying to do. Put the file someplace where a user can FTP to it, FTP it with CFML code, something else or some combonation of all the above.