diff --git a/src/applications/drydock/interface/filesystem/DrydockSFTPFilesystemInterface.php b/src/applications/drydock/interface/filesystem/DrydockSFTPFilesystemInterface.php index 3a5803871e..bffe85144b 100644 --- a/src/applications/drydock/interface/filesystem/DrydockSFTPFilesystemInterface.php +++ b/src/applications/drydock/interface/filesystem/DrydockSFTPFilesystemInterface.php @@ -46,7 +46,9 @@ final class DrydockSFTPFilesystemInterface extends DrydockFilesystemInterface { public function saveFile($path, $name) { $data = $this->readFile($path); - $file = PhabricatorFile::newFromFileData($data); + $file = PhabricatorFile::newFromFileData( + $data, + array('name' => $name)); $file->setName($name); $file->save(); return $file;