2 Replies - 353 Views - Last Post: 05 November 2018 - 02:51 AM Rate Topic: -----

#1 aspfun   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 103
  • Joined: 16-January 13

How to convert DNS to virtual directory?

Posted 11 September 2018 - 06:54 AM

How to convert DNS to virtual directory?
For example, I list DNS below.

\\webserver\myproject\myfolder\

How to convert it so that I could use code Server.MapPath?
Is This A Good Question/Topic? 0
  • +

Replies To: How to convert DNS to virtual directory?

#2 DarenR   User is offline

  • D.I.C Lover

Reputation: 595
  • View blog
  • Posts: 3,839
  • Joined: 12-January 10

Re: How to convert DNS to virtual directory?

Posted 11 September 2018 - 08:36 AM

something like server.mapPath("\webserver\myproject\myfolder\")

Was This Post Helpful? 0
  • +
  • -

#3 Ankusha5674   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 11-October 18

Re: How to convert DNS to virtual directory?

Posted 05 November 2018 - 02:51 AM

In IIS, you can add virtual directory located in network place, to get the path Server,MapPath("~/virtualfoldername")

Another way, use ftp. connect to ftp then save your files to the ftp site

https://docs.microso...-files-with-ftp
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1