title: Delphi download file Android with Memory Stream
body: <p>I am trying to download a file from a server in this way:</p>
  
  <pre><code>var MeS:TMemoryStream;
  begin
   Mes:=TMemoryStream.Create;
   IdFTP1.Connect;
   Mes.Position:=0;
    try
     IdFTP1.Get(Mes, 'dolcestilnovo.txt', True, False);
    finally
     MeS.Free;
     IdFTP1.Disconnect;
    end;
   Memo5.Lines.LoadFromStream(Mes);
  end;
  </code></pre>
  
  <p>I must show the content of <code>dolcestilnovo.txt</code> inside that Memo5, but I have an error on the <code>IdFTP1.Get();</code> method.</p>
  
  <p>The error says "There is no overloaded version of 'Get' that can be called with these parameters". What can I do? </p>
  
  <p>I thought to use the <code>MemoryStream</code> since I'm downloading it on an android device.</p>