c# - How to save files/documents in another server in .NET -
i have 2 servers.
my .net application hosted in 1 server, there no space save files in server. want save files in server. possible.
i saving files using web.config file.
<appsettings> <add key="filepath" value="c:\\client documents\\ documents\\client"/> </appsettings> if new server ip address is: xx.xx.xx.x how can change file path.
try setting serverfilepath myserver\somepath:
<add key="serverfilepath" value="\\\\myserver\\somepath\\" />
Comments
Post a Comment