* @throws TransferFailedException
*/
protected void mkdirs( String dir )
throws IOException
{
Repository repository = getRepository();
String basedir = repository.getBasedir();
String baseUrl = repository.getProtocol() + "://" + repository.getHost();
if ( repository.getPort() != WagonConstants.UNKNOWN_PORT )
{
baseUrl += ":" + repository.getPort();
}
// create relative path that will always have a leading and trailing slash
String relpath = FileUtils.normalize( getPath( basedir, dir ) + "/" );