﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>InstantASP Community Forums / Old Forums / InstantKB.NET 1.x  / Article Attachments and saved file names / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>InstantASP Community Forums</description><link>http://community.instantasp.co.uk/</link><webMaster>sales@instantasp.co.uk</webMaster><lastBuildDate>Fri, 09 Jan 2009 09:44:10 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Article Attachments and saved file names</title><link>http://community.instantasp.co.uk/Topic10466-26-1.aspx</link><description>[quote][b]Cybertux (3/22/2006)[/b][hr]&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;This has to do with Article Attachments, and how files are saved in the wwwroot\kb\attachments directory.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Is their any way to avoid the random GUID number from becoming part of the saved file, or any way to build a x-ref so when the user save the file the original name will persist during the save.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;Thank You&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;Jeff&lt;/FONT&gt;&lt;/SPAN&gt;[/quote]&lt;P&gt;Dear Jeff,&lt;P&gt;You should alter the ReturnUniqueFileName function of the utilities class. Or remove it from the Upload_Click method in the admin/attachments.aspx.vb file.&lt;P&gt; </description><pubDate>Fri, 24 Mar 2006 09:45:05 GMT</pubDate><dc:creator>Carlos Muniz</dc:creator></item><item><title>Article Attachments and saved file names</title><link>http://community.instantasp.co.uk/Topic10466-26-1.aspx</link><description>&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;This has to do with Article Attachments, and how files are saved in the wwwroot\kb\attachments directory.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Is their any way to avoid the random GUID number from becoming part of the saved file, or any way to build a x-ref so when the user save the file the original name will persist during the save.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;Thank You&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#000000&gt;Jeff&lt;/FONT&gt;&lt;/SPAN&gt;</description><pubDate>Wed, 22 Mar 2006 13:47:12 GMT</pubDate><dc:creator>Cybertux</dc:creator></item></channel></rss>