Re: How to create file on network share from ASP.NET
- From: "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Jul 2005 09:31:29 -0400
Hi Andre,
You can certainly use the System.IO classes to create files on a network
drive in the same way that you would create them on a local machine drive.
You can use a UNC path if you wish, or a mapped drive. The rules are the
same. The only differences would be:
1. Security: Use an Active Directory domain account with the proper
permissions. Use impersonation if necessary.
2. Unix drives: You may have some issues with the files themselves,
especially if they are text files. Carriage returns are different on Unix
systems. The system may be using ASCII instead of Unicode text encoding as
well.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
"Andre" <Andre@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2C9359BB-9830-4F3E-AC6C-F779FA80C551@xxxxxxxxxxxxxxxx
> Hi,
>
> I have ASP.NET application running on standalone (not part of the domain)
> Windows 2003. I use forms authentication for my application. The problem I
> have is that I need to create and read files on Windows domain network
> shared
> drives and also on shared via Samba Unix drives, which is equivalent to
> writing/reading to the workgroup computer. Please point, if possible, to
> detailed step by step description of what needs to be done. Thank you.
>
> Regards,
>
.
- Follow-Ups:
- References:
- How to create file on network share from ASP.NET
- From: Andre
- How to create file on network share from ASP.NET
- Prev by Date: Re: How do I prevent the validators firing when a button is clicke
- Next by Date: Re: Placeholder and positioning of children
- Previous by thread: How to create file on network share from ASP.NET
- Next by thread: Re: How to create file on network share from ASP.NET
- Index(es):