Asp.Net(C#) & SQL & Oracle

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

Instead of using ftp://server/path as the uri, try ftp://server/%2fpath/.

The added %2f" is just an escaped /, adding this will make C# treat the whole path as absolute. Or else C# will login to ftp://server/ with the username, go to the user's home folder, then cd to your specified path.

posted on 2012-02-29 13:39  MaoBisheng  阅读(386)  评论(0编辑  收藏  举报