I have been looking at this one and even going into the code to work out what is happening. I am using the following command to create a directory on the FTP server
<MSBuild.ExtensionPack.Communication.Ftp TaskAction="CreateDirectory" Host="$(FTPHost)" UserName="$(FTPUsername)" UserPassword="$(FTPPassword)" RemoteDirectoryName="/$(ProductCode)" />
I get the following error:
error : The FTP Directory already exists on the ftp server.
I then even tried the example code you had, updating it to use the information for username and passwords on my server.
<MSBuild.ExtensionPack.Communication.Ftp TaskAction="CreateDirectory" Host="$(FTPHost)" RemoteDirectoryName="NewFolder1" UserName="$(FTPUsername)" UserPassword="$(FTPPassword)"/>
The same error of:
error : The FTP Directory already exists on the ftp server.
is in the BuildLog.txt
I am able to successfully upload a file to the root of the FTP server. But creating a directory seems problematic. I have tired using ./ or .\ to proceed the name but to no avail.
The FTP server has all valid permissions as I can run an FTP command from the command line and perform a mkdir and it works
I noticed this item;
http://msbuildextensionpack.codeplex.com/workitem/9533
But you mentioned that you think it was addressed. But was it addressed and if so what version.
I am using 3.5.7.0 running on TFS 2008 and MSBuild on that server.
The FTP server is an IIS 6.0 on Server 2003 R2.
If you need any more information please let me know.
Comments: ** Comment from web user: MikeARogers **
<MSBuild.ExtensionPack.Communication.Ftp TaskAction="CreateDirectory" Host="$(FTPHost)" UserName="$(FTPUsername)" UserPassword="$(FTPPassword)" RemoteDirectoryName="/$(ProductCode)" />
I get the following error:
error : The FTP Directory already exists on the ftp server.
I then even tried the example code you had, updating it to use the information for username and passwords on my server.
<MSBuild.ExtensionPack.Communication.Ftp TaskAction="CreateDirectory" Host="$(FTPHost)" RemoteDirectoryName="NewFolder1" UserName="$(FTPUsername)" UserPassword="$(FTPPassword)"/>
The same error of:
error : The FTP Directory already exists on the ftp server.
is in the BuildLog.txt
I am able to successfully upload a file to the root of the FTP server. But creating a directory seems problematic. I have tired using ./ or .\ to proceed the name but to no avail.
The FTP server has all valid permissions as I can run an FTP command from the command line and perform a mkdir and it works
I noticed this item;
http://msbuildextensionpack.codeplex.com/workitem/9533
But you mentioned that you think it was addressed. But was it addressed and if so what version.
I am using 3.5.7.0 running on TFS 2008 and MSBuild on that server.
The FTP server is an IIS 6.0 on Server 2003 R2.
If you need any more information please let me know.
Comments: ** Comment from web user: MikeARogers **
This item can be closed. I have updated to 3.5.11.0 and it works now. Thanks for the great product.