anchor.diff:  	    State0#state{handles = Handles, file_state = FS2};
   	{ok, Files} ->
   	    {ToSend, Cache} = lists:split(MaxLength, Files),
  -	    {NamesAndAttrs, FS2} = get_attrs(AbsPath, ToSend, FileMod, FS1),
  +	    {NamesAndAttrs, FS2} = get_attrs(AbsPath, ToSend, FileMod, FS1, Vsn),
   	    ssh_xfer:xf_send_names(XF, ReqId, NamesAndAttrs),
   	    Handles = lists:keyreplace(Handle, 1,
   				       State0#state.handles,
  
positive.code: 
  %%% read_dir/5: read directory, send names, and return new state
  read_dir(State0 = #state{file_handler = FileMod, max_files = MaxLength, file_state = FS0},
  	 XF, ReqId, Handle, RelPath, {cache, Files}) ->
      AbsPath = relate_file_name(RelPath, State0),
      if
  	length(Files) > MaxLength ->
  	    {ToSend, NewCache} = lists:split(MaxLength, Files),
  	    {NamesAndAttrs, FS1} = get_attrs(AbsPath, ToSend, FileMod, FS0),
  	    ssh_xfer:xf_send_names(XF, ReqId, NamesAndAttrs),
  	    Handles = lists:keyreplace(Handle, 1,
  				       State0#state.handles,
  				       {Handle, directory, {RelPath,{cache, NewCache}}}),
  	    State0#state{handles = Handles, file_state = FS1};
  	true ->
  	    {NamesAndAttrs, FS1} = get_attrs(AbsPath, Files, FileMod, FS0),
  	    ssh_xfer:xf_send_names(XF, ReqId, NamesAndAttrs),
  	    Handles = lists:keyreplace(Handle, 1,
  				       State0#state.handles,
  
negative.code: -include("ssh.hrl").
  -include("ssh_xfer.hrl").
  -include("ssh_connect.hrl"). %% For ?DEFAULT_PACKET_SIZE and ?DEFAULT_WINDOW_SIZE
  
  
  %%--------------------------------------------------------------------
  %% External exports
  