'Remote path is extracted from first filename after local file.
Any other data in the line is ignored.'

def test_cmd_PUTSingleRemotePath(self):

    localPath = self.makeFile()
    flags = ((filetransfer.FXF_WRITE | filetransfer.FXF_CREAT) | filetransfer.FXF_TRUNC)
    remoteName = '/remote-path'
    remoteFile = InMemoryRemoteFile(remoteName)
    self.fakeFilesystem.put(remoteName, flags, defer.succeed(remoteFile))
    deferred = self.client.cmd_PUT(('%s    %s    ignored' % (localPath, remoteName)))
    self.successResultOf(deferred)
    self.checkPutMessage([(localPath, remoteName, ['100%    0.0B'])])
    self.assertTrue(remoteFile._closed)
    self.assertEqual('', remoteFile.getvalue())
