butter7372 发表于 2015-5-29 09:12:19

C# FTP with CD Disabled

  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.
页: [1]
查看完整版本: C# FTP with CD Disabled