ftpWebRequest

V

Vadym Stetsyak

Hello, Arne!

Take a look at line with the following code

request.Method = WebRequestMethods.Ftp.UploadFile;

You can change the name of the sample method on whatever you want.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
G

Guest

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top