Subject: | |
From: | |
Reply To: | |
Date: | Mon, 17 Nov 2003 15:56:39 EST |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Paul asks:
> A co-worker has developed a Windows based application in Visual Basic. One
> of its functions involves the transmission of a data file to our HP3000 for
> further processing. My recommendation was for the VBasic application to
> issue a 'site stream' command after uploading the data file to complete the
> process.
>
> He is using a windows based library containing a number of 'FTP' methods,
> and has been successful in uploading the file. He has not, however, been
> able to find a method that will allow him to issue the 'site stream' FTP
> command.
It's not difficult -- if you do everything right:
ftp> quote site stream testjob
However, you have to break the command above into its constituent pieces in
order to understand what's going on.
The "quote" is the part that allows the Windows FTP client to send any
arbitrary command to the remote host (other FTP implementations sometimes use other
verbs to do the same thing). The "site stream" is MPE's allowed mechanism to
absorb the arbitrary command and act upon it (and may the only command to which
MPE's FTP server responds to, I don't know). The "testjob" is the job that
the stream command streams.
In the instance I just created to insure that I was remembering correctly, I
had the job perform this exceptionally elaborate sequence, but yours could
clearly be more complicated yet:
testjob
1 !job mgr/password1.ps/password2
2 !rename ap,ap1
3 !eoj
Wirt Atmar
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|