I've been using this code block for a long time to push downloadables to users:

<cfset filename=chr(34) & attributes.file & chr(34)>
<cfprocessingdirective suppresswhitespace="Yes"><cfheader
name='content-disposition' value="attachment;
filename=#filename#"><cfcontent type="application/unknown"
file="#documentsPath##url.file#"
deletefile="No"></cfprocessingdirective>

It's always worked perfectly with human users. When search engine bots
hit it, the application errors out. which makes sense in a way, they
wouldn't be downloading files. One would hope that the bots are smart
enough to back off from a download link in a "not for me" fashion. But
i'm suspicious that this isn't the case. msnbot keeps coming back to
the site for days in a row. And that makes me wonder if this is
affecting rankings, as to the bot it may appear that the site is full
of errors.

Anyone have a take on this? An intelligent solution? Should i be
filtering the download process to exclude the search engines?

One somewhat undesirable side effect is that i get hundreds of error
emails a week from a variety of apps that i have to sift thru.

Error Diagnostic Information

cfCatchMessage: The cause of this output exception was that:
java.net.SocketException: Connection reset by peer: socket write
error.

Any ideas or experienced suggestions are welcome. i'm not a SE bot, so
i have a hard time modelling their behaviour in my mind.

thanks,
nando :)
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to