从物理路径获取URL [英] Get Url From physical path

查看:73
本文介绍了从物理路径获取URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好所有

你能帮我解决这个问题

hello all
could you help me in this questions

How can I get a url from a physical path ? eg....

From this:

C:\Inetpub\ftproot\MW\dir\app_root\dir\file.txt



To this:



http://www.mydomain/dir/file.txt



谢谢


thanks

推荐答案

请通过以下网址获取

http://stackoverflow.com/questions / 16007 / how-do-do-do-a-file-path-to-url-in-asp-net [ ^ ]
Please gor through below url
http://stackoverflow.com/questions/16007/how-do-i-convert-a-file-path-to-a-url-in-asp-net[^]


这篇关于从物理路径获取URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆