Question : How do I send Quote commands with SFTP

Hello,
We are converting a current openftp transmission to SFTP. The transmission goes to a IBM mainframe. The current FTP process is  as follows
1. Open FTP Connection
2. Send below parameter
                                quote site filetype=seq
                                quote site lrecl= 300
                                quote site blocksize=0
                                quote site RECFM=FB
3. Put the file to target location
4. Put the Trigger file (JCL)

The trigger file in teh last setp has a series of lines starting with //

I have two questions.
A. How do I send the quote commands with SFTP? Does SFTP even allow these commands?
B. How do I send the commands in the trigger files (starting with //)

I am using Attachmate Reflection Secure FTP client program on my end.  I will be using a batch file which teh client program will use as input.

Appreciate any help.

Answer : How do I send Quote commands with SFTP

Ok, the following post may give you an idea on how you can use a [RD]SA key to trigger a job, via a SSH connection:

http://www.experts-exchange.com/Software/Internet_Email/File_Sharing/SSH_Telnet/Q_24570170.html
Random Solutions  
 
programming4us programming4us