private static byte[] createFileReq(byte[] command,byte[] path){
  byte[] array=new byte[8 + path.length];
  System.arraycopy(command,0,array,0,4);
  ArrayHelper.swap32bitsToArray(path.length,array,4);
  System.arraycopy(path,0,array,8,path.length);
  return array;
}

private static byte [ ] createFileReq ( byte [ ] command , byte [ ] path ) { byte [ ] array = new byte [ 8 + path . length ] ; System . arraycopy ( command , 0 , array , 0 , 4 ) ; ArrayHelper . swap32bitsToArray ( path . length , array , 4 ) ; System . arraycopy ( path , 0 , array , 8 , path . length ) ; return array ; }
creates the data array for a file request . this creates an array with a 4 byte command + the remote file name .
