title: Apache VFS error. because it is a relative path, and no base URI was provided
body: <p>I'm building a service using Spring boot. I need to list files from SFTP and download the matched file.</p>
  <p>I'm using org.apache.commons, commons-vfs2 - version 2.4</p>
  <p>Previously, my code worked normally. It can iterate through the directly to download my wanted file. But it currently throws error.</p>
  <p>The error is</p>
  <pre><code>Could not find file with URI &quot;sftp://myusername@xx.xx.xxx.174/output&quot; because it is a relative path, and no base URI was provided.
  </code></pre>
  <p>I do not understand what happened because it used to work.</p>
  <p>Here is my line of the code that occurs the error,</p>
  <pre><code>FileSystemManager manager = VFS.getManager();
  FileObject fileObject = manager.resolveFile(&quot;sftp://&quot; + sftp_username + &quot;@&quot; + sftp_host+&quot;/output&quot;); //error this line
  FileObject[] files = fileObject.getChildren();
  //... for loop the files
  </code></pre>