By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,882 Members | 2,489 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,882 IT Pros & Developers. It's quick & easy.

Sending file by using FTP

P: n/a

I am developing a C# windows application that should send a file using FTP.
Does anyone knows how to make my application do this. I haven't found the
correct object to perform this.
It should connect, login, upload the file, and then disconnect. If possible
I also want to add a progress bar to the transfer.

Any ideas?
Regards Magnus
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a

I found some decent source code to do this at:

Hope it helps.

Jul 21 '05 #2

P: n/a

Thank you, it was very nice source code.

Unfortunately I've got another problem about this code:

I made an application for uploading files and it works properly against
my IIS 6 FTP-site. Unfortunately I now have to use it against another
FTP-site that doesn't know what PASV is. I then tried to make another
routine in my code for sending command PUT Xxxx, but I got the error
message "command not understood".

Does anyone knows how to solve this?!?!
Where to find the syntax for my object? :
Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)

Regards Magnus
*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.