I am using the trial version on an existing PHP web site on VS 2017. When I publish an individual file that is located in the a directory other than the root directory, I receive the following message:
Directory already exists (550).
Looking in the FTP log on the server I see:
CWD /inetpub/wwwroot/
250 CWD successful. "/inetpub/wwwroot" is current directory.
CWD /inetpub/wwwroot/
250 CWD successful. "/inetpub/wwwroot" is current directory.
PBSZ 0
200 PBSZ=0
PROT P
200 Protection level set to P
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (10,8,0,1,253,212)
MLSD
150 Connection accepted
SSL connection for data connection established
226 Transfer OK
MKD /inetpub/wwwroot/Solutions
550 Directory already exists
QUIT
As you can see a MKD for a directory that already exists is being sent to the FTP server which is causing the error.
What can I do to alleviate this problem?