diff --git a/apps/files_external/lib/irods.php b/apps/files_external/lib/irods.php index d2e06e72d152467f0da2f01e6ad8378d17c33231..ddce8639ff47deb1a49d05adec113ace893c1efd 100644 --- a/apps/files_external/lib/irods.php +++ b/apps/files_external/lib/irods.php @@ -65,7 +65,7 @@ class iRODS extends \OC\Files\Storage\StreamWrapper{ } /** - * construct the ftp url + * construct the rods url * @param string $path * @return string */ @@ -80,6 +80,8 @@ class iRODS extends \OC\Files\Storage\StreamWrapper{ if ($this->auth_mode !== '') { $userWithZone .= '.'.$this->auth_mode; } + + // url wrapper schema is named rods return 'rods://'.$userWithZone.':'.$this->password.'@'.$this->host.':'.$this->port.$this->root.$path; }