Hi,
I have a link to a file that is not opening. I found the URLEncode function might work.
However, I've tried several different ways and am not sure if it can be used in a link for a file, because in between different variables there are spaces. I need to know how I can set the URLEncode function, if I'm doing something wrong.
This is what should be included:
<cfloop list="#qGetData.file#" index="i" >
<a href="
http://server:8001/obi/Path-MA/Attachments_Directory/Marketing/#qGetData.group_Name# ID #url.id# (By #qGetData.submitted_By#) - #DateFormat(qGetData.date_
Submitted,
'mmddyyyy')#/#i#")>#i#</a>
<br/>
</cfloop>
Variables like group_Name may have spaces, but the path itself does have spaces. How to go about this?
http://www.someserver.com/somepath/#URLEncode("portion of the path with spaces)#
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Cold_Fusion_Markup_Language/Q_26591859.html