Merge pull request #427 from SolidX/master

Fixes incorrect default port for an FTP Account
This commit is contained in:
Jaex 2014-12-31 10:51:36 +02:00
commit 03a4f3b440

View file

@ -190,6 +190,7 @@ public string GetUriPath(string filename, string subFolderPath = null)
}
httpHomeUri = new UriBuilder(URLHelpers.CombineURL(host, subFolderPath, filename));
httpHomeUri.Port = -1; //Since httpHomePath is not set, it's safe to erase UriBuilder's assumed port number
}
else
{