Webclient and ftp upload

  • Thread starter Thread starter Andy Atherton
  • Start date Start date
A

Andy Atherton

I Have the need to upload a file to a ftp site on the internet is this the
correct way ?

and if so where the user name and password go ?



Webclient.uploadfile(ftp:///www.zxy.com,"Test.txt")
 
Andy Atherton said:
I Have the need to upload a file to a ftp site on the internet is this the
correct way ?

and if so where the user name and password go ?

Webclient.uploadfile(ftp:///www.zxy.com,"Test.txt")

Do you have to use webclient? FTP is a full protocol, better to use an FTP
component directly.

http://www.indyproject.org/indy.html is free. FTP isnt in the .net assembly
yet, but will be in a day or two.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 
Back
Top