Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / February 2004

Tip: Looking for answers? Try searching our database.

Create a file on the web server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian Bradley - 25 Feb 2004 22:06 GMT
I want to be able to get information from users on the Internet and write it
to a file on my Intranet server.  I want a separate file to be created each
time a user posts information to the site.  Is there a way to create a file
on my Intranet server from my Internet application?
Kevin Yu [MSFT] - 26 Feb 2004 06:03 GMT
Hi Brian,

Thank you for posting in the community!

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need your internet server to be
able to create files on another server on Intranet. If there is any
misunderstanding, please feel free to let me know.

I'd like to know what kind of project you are working on. Are you working
on an ASP.NET project? If you are collecting information from the web and
writing information to a text file on the other server, you can try to use
the StreamWriter class. It can create file on the machine and write text
into that file. When writing to the file we need to pay attention to the
permission issues. We have to impersonate the request so that the ASP.NET
application might access that folder correctly.

HTH. If you need some further assistance, could you provide me with more
information about you app, so that I can deliver my assistance more
accurately? I'll be glad if I can help.

If anything is unclear, please feel free to reply to the post.

Kevin Yu
Signature

=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Kevin Yu [MSFT] - 28 Feb 2004 08:40 GMT
Hi Brian,

I'd like to know if the issue has been resoved yet. Is there anything that
I can help on this? I'm still monitoring on it. If you have any further
questions about this issue, please reply to the post in newsgroup.

Kevin Yu
Signature

=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.