Do not display link for temporary uploads.

I guess it is better to just show uploaded document name then a non working link.