Bad message

If the following error is displayed whilst transferring a modified symlink:

Error communicating with your server: bad message

It could be because the symlink already exists, but is a file rather than a directory. This can be tested on the server, by trying to cd to the path. If this is the case, the following error will be displayed:

not a directory