What's the difference between "File -> Publish to FTP" and "File -> Save to FTP" ?
It looks like the same functionality, except "Publish to FTP" gets an illegal path/filename if file comes from FTP.
Steps to reproduce:
1) Open a file from FTP.
2) Select ""Publish to FTP" - Notice the filename is prepended with "\|"
3) Select another folder on FTP or another FTP site and try to upload. (Upload fail, as it tries to find the file locally)