Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

To display a text file

$
0
0

Hi,

I have VWD 2010 Express File System web site, which is active on hosting server.

The User creates a text file, selecting and writing data using a series of DropDownList, Button and
TextBox in relevant pages.

After some math. calculations, the final code in the class file is as follows:

My.Computer.FileSystem.WriteAllText("C:\SITE_NAME\Result.txt", vbNewLine & " CATAGORY - " & Random_S & "; ( "
& aa & " - " & bb & " - " & cc & " - " & dd & " - " & ee & " - " & ff & ")", True)

The path of Result.txt file is :

In local machine: C:\SITE_NAME\Result.txt
In hosting server: ftp://ftp.DOMAIN/http/Result.txt

In local machine I can approach and display the Result.txt file. But the User can't, due to the path
C:\SITE_NAME\Result.txt is not exist in their machines.

I can redevelop the website from File System to FTP System. Does it help ?

How can I solve this problem???

Any suggestions much appreciated.


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>