I finally got the passive mode upload from a memory stream to work for me. I
tested it by uploading the results of a SQL query to a file that I FTPd to my
local host ftp site. The next step is to get this to send that same dataset
to a mainframe.
In the FTP script that sends a text file now there are site commands that
need to be sent to the server before sending the stream and the name of the
dataset(file) is long with $$ and (+1) type stuff in it to the upload method.
When I send the ftpWebRequest the site commands in the Method string though,
I get errors about the method not being supported. I tried the method with
and without the quote command that the command line version of FTP uses, but
neither seems to change anything.
Any ideas?