<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[ASP] Leggere file.txt e stamparlo in tabella]]></title><description><![CDATA[<p dir="auto">Ciao a tutti.<br />
vorrei leggere un file testo.txt che ho sul mio sito e stamparlo in alcune pagine... come faccio?</p>
]]></description><link>https://dev.connect.gt/topic/34877/asp-leggere-file-txt-e-stamparlo-in-tabella</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 21:53:30 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/34877.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 May 2007 12:32:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ASP] Leggere file.txt e stamparlo in tabella on Wed, 16 May 2007 08:27:21 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>luca000</strong></p>
<p dir="auto">scusate se abuso della vostra disponibilità, e se il file da leggere fosse un .rtf?<br />
esiste un modo per trasformare i comandi rtf in comandi htm direttamente?</p>
</blockquote>
<p dir="auto">Ho trovato questo metodo che fa l'inverso:</p>
<p dir="auto"><a href="http://www.aspitalia.com/script/592/Convertitore-HTML-RTF.aspx" rel="nofollow ugc">http://www.aspitalia.com/script/592/Convertitore-HTML-RTF.aspx</a></p>
<p dir="auto">basta che fai il reverse dei replace e dovrebbe funzionare, prova a smanettarci un po' <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=3abbd2034aa" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Se no ho visto che ci sono anche soluzioni con DLL ma mi sembra un po' uno spreco.. <a href="http://www.sautinsoft.com/products/rtf-to-html/index.php" rel="nofollow ugc">http://www.sautinsoft.com/products/rtf-to-html/index.php</a></p>
]]></description><link>https://dev.connect.gt/post/506995</link><guid isPermaLink="true">https://dev.connect.gt/post/506995</guid><dc:creator><![CDATA[joker197cinque]]></dc:creator><pubDate>Wed, 16 May 2007 08:27:21 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP] Leggere file.txt e stamparlo in tabella on Tue, 15 May 2007 22:55:07 GMT]]></title><description><![CDATA[<p dir="auto">scusate se abuso della vostra disponibilità, e se il file da leggere fosse un .rtf?<br />
esiste un modo per trasformare i comandi rtf in comandi htm direttamente?</p>
]]></description><link>https://dev.connect.gt/post/506989</link><guid isPermaLink="true">https://dev.connect.gt/post/506989</guid><dc:creator><![CDATA[luca000]]></dc:creator><pubDate>Tue, 15 May 2007 22:55:07 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP] Leggere file.txt e stamparlo in tabella on Thu, 10 May 2007 00:22:42 GMT]]></title><description><![CDATA[<p dir="auto">smack! smack! smack!</p>
<p dir="auto">a parte gli scherzi, grazie mille!</p>
]]></description><link>https://dev.connect.gt/post/506990</link><guid isPermaLink="true">https://dev.connect.gt/post/506990</guid><dc:creator><![CDATA[luca000]]></dc:creator><pubDate>Thu, 10 May 2007 00:22:42 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP] Leggere file.txt e stamparlo in tabella on Wed, 09 May 2007 22:08:10 GMT]]></title><description><![CDATA[<p dir="auto">All'interno della mappath elimina i due punti che usi per salire di un livello nel tuo file-system.</p>
<p dir="auto">Scriverai:</p>
<p dir="auto">...Server.MapPath("/tua-directory/tuo-file.txt")...</p>
<p dir="auto"><img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=3abbd2034aa" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://dev.connect.gt/post/506985</link><guid isPermaLink="true">https://dev.connect.gt/post/506985</guid><dc:creator><![CDATA[paocavo]]></dc:creator><pubDate>Wed, 09 May 2007 22:08:10 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP] Leggere file.txt e stamparlo in tabella on Wed, 09 May 2007 21:14:14 GMT]]></title><description><![CDATA[<p dir="auto">per la precisione</p>
<p dir="auto">Server.MapPath() error 'ASP 0175 : 80004005'<br />
Disallowed Path Characters<br />
(/mio url, line blablabla)<br />
The '..' characters are not allowed in the Path parameter for the MapPath method.</p>
]]></description><link>https://dev.connect.gt/post/506988</link><guid isPermaLink="true">https://dev.connect.gt/post/506988</guid><dc:creator><![CDATA[luca000]]></dc:creator><pubDate>Wed, 09 May 2007 21:14:14 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP] Leggere file.txt e stamparlo in tabella on Wed, 09 May 2007 21:12:21 GMT]]></title><description><![CDATA[<p dir="auto">dice:</p>
<p dir="auto">The '..' characters are not allowed in the Path parameter for the MapPath method.</p>
]]></description><link>https://dev.connect.gt/post/506987</link><guid isPermaLink="true">https://dev.connect.gt/post/506987</guid><dc:creator><![CDATA[luca000]]></dc:creator><pubDate>Wed, 09 May 2007 21:12:21 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP] Leggere file.txt e stamparlo in tabella on Wed, 09 May 2007 18:31:26 GMT]]></title><description><![CDATA[<p dir="auto">Caro luca,<br />
ovviamente dovresti specificare il percorso esatto del tuo file nel codice segnalato da joker197cinque.</p>
<p dir="auto">Se il file txt è all'interno della tua web-directory (come presumo che sia) allora dovrai fare uso della funzione Server.MapPath, ad esempio:</p>
<pre><code>&lt;%
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(Server.MapPath("tua-dir-in-wwwroot/tuo-file.txt"), 1, True)
Var = f.ReadAll

Response.write Var

%&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/post/506984</link><guid isPermaLink="true">https://dev.connect.gt/post/506984</guid><dc:creator><![CDATA[paocavo]]></dc:creator><pubDate>Wed, 09 May 2007 18:31:26 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP] Leggere file.txt e stamparlo in tabella on Wed, 09 May 2007 18:26:26 GMT]]></title><description><![CDATA[<p dir="auto">Microsoft VBScript runtime  error '800a004c'<br />
Path not found</p>
]]></description><link>https://dev.connect.gt/post/506986</link><guid isPermaLink="true">https://dev.connect.gt/post/506986</guid><dc:creator><![CDATA[luca000]]></dc:creator><pubDate>Wed, 09 May 2007 18:26:26 GMT</pubDate></item><item><title><![CDATA[Reply to [ASP] Leggere file.txt e stamparlo in tabella on Wed, 09 May 2007 15:43:10 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>luca000</strong></p>
<p dir="auto">Ciao a tutti.<br />
vorrei leggere un file testo.txt che ho sul mio sito e stamparlo in alcune pagine... come faccio?</p>
</blockquote>
<p dir="auto">&lt;%<br />
Set fso = CreateObject("Scripting.FileSystemObject")<br />
Set f = fso.OpenTextFile("C:\testo.txt", 1, True)<br />
Var = f.ReadAll</p>
<p dir="auto">Response.write Var</p>
<p dir="auto">%&gt;</p>
]]></description><link>https://dev.connect.gt/post/506994</link><guid isPermaLink="true">https://dev.connect.gt/post/506994</guid><dc:creator><![CDATA[joker197cinque]]></dc:creator><pubDate>Wed, 09 May 2007 15:43:10 GMT</pubDate></item></channel></rss>