title: Uploading to mainframe using FTP
body: <p>I just want to know how you upload datasets specifying its characeteristics?
  E.G. using the command quote site lrecl=500 recfm=fb</p>
  
  <p>Well, the command was accepted when I tried to use it, but the problem is that when I tried to upload the file using the command 'send' ftp hangs up, and definitley closes the session.</p>
  
  <p>This is the sample:<a href="http://www.mvsforums.com/helpboards/recent.php?sid=dab6b1f3cda149c7d7db855d90acaab1" rel="nofollow noreferrer">http://www.mvsforums.com/helpboards/recent.php?sid=dab6b1f3cda149c7d7db855d90acaab1</a></p>
  
  <pre><code>ftp&gt; quote site lrecl=500 recfm=fb
  200 SITE command was accepted
  ftp&gt; send C:\test\test.txt 'ADM.SAMPLE.TEST'
  200 Port request OK.
  425 Can't open data connection.
  ftp&gt;
  </code></pre>
  
  <p>Any help will be appreciated.
  Thanks.</p>