[Bug 7506] ftp to remote server does short writes