/**
  * @param string $remoteName
  */
 private function deleteFile($remoteName)
 {
     if ($this->debug) {
         $this->systemLogger->log('target ' . $this->name . ': deleteFile $remoteName: ' . $remoteName);
     }
     $this->ftpService->delete($remoteName);
 }
 /**
  * Returns a stream handle which can be used internally to open / copy the given resource
  * stored in this storage.
  *
  * @param string $relativePath A path relative to the storage root, for example "MyFirstDirectory/SecondDirectory/Foo.css"
  * @return resource | boolean A URI (for example the full path and filename) leading to the resource file or FALSE if it does not exist
  * @api
  */
 public function getStreamByResourcePath($relativePath)
 {
     if ($this->debug) {
         $this->systemLogger->log('storage ' . $this->name . ': getStreamByResourcePath');
     }
     if ($this->ftpService->fileExists('_' . ltrim('/', $relativePath))) {
         return fopen('http://' . $this->zoneDomain . '/_' . ltrim('/', $relativePath), 'r');
     } else {
         return FALSE;
     }
 }