FTP to remote server

  • Thread starter Thread starter Wayne Carlaw
  • Start date Start date
W

Wayne Carlaw

I'm having no luck getting the FTP sample found here:

http://www.csharphelp.com/archives/archive9.html

to work. I've tried every conceivable angle, but can't figure it out why I
can't successfully upload a file. I'm almost convinced it's a permissions
issue when the System.IO tries to read the file from the client machine.
The file gets created on the remote FTP server, but doesn't get written to.
Has anyone played around with this with any success?

Any help would be greatly appreciated.

Thanks
 
Hi,

I haven;t used it, but IIRC the ftp protocol create two connections, maybe
you have to config your firewall,
what if you create a ftp server on your machine and test it?


cheers,
 
Hi Wayne,

Read this document, so you'll get a good understanding
of what are FTP file transfer Active and Passive modes.
http://slacksite.com/other/ftp.html

This sample uses Active mode transfers, and your (or your
network's) firewall does not allow incoming connection
from ftp server to your computer on port 20.

Solution: Tell your network administrator to enable incoming
port 20 requests to you computer.
 

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

Similar Threads


Back
Top