title: ftp error 501: Server cannot accept argument
body: <p>I am using the following ftp commands to retrieve data to the local machine from the remote server but I got the error 501.</p>
  
  <p>Does any way to bypass this error?</p>
  
  <pre><code>ftp&gt; open xx.xxx.xxx.xx
  Connected to xx.xxx.xxx.xx.
  220 Microsoft FTP Service
  User (xx.xxx.xxx.xx:(none)):
  331 Password required
  
  230 User logged in.
  ftp&gt; QUOTE PASV
  227 Entering Passive Mode (95,142,103,59,237,58).
  ftp&gt; cd \some\path\out
  250 CWD command successful.
  ftp&gt; lcd \user\myfolder
  Local directory now E:\user\myfolder.
  ftp&gt; binary
  200 Type set to I.
  ftp&gt; get test.txt
  501 Server cannot accept argument.
  150 Opening BINARY mode data connection.
  </code></pre>