title: NiFi use relative path for get and put file processor
body: <p>New to NiFi, struggling with some basics and would be grateful for any assistance...</p>
  <p>I need to get files from a remote server and store them on a NiFi server.  Using GetSFTP and PutFile this works ok.  But I wish to keep the relative paths.</p>
  <p>ie. on remote server /data/hosts/host01/.... would be copied into /imports/host01/... on NiFi</p>
  <p>I have this working by using <code>/imports/$path:substring(11)}</code> as the <em>Directory</em> value in PutFile.  I have tried using a parameter and a variable to store the <em>Remote Path</em> value and tried using the <code>:length(var1)</code> function of the Parameter and/or Variable within the the above substring function but nothing seems to work other than hard coding the substring length.</p>
  <p>Is their an easier way to keep relative paths with get and put processors??</p>