this link should help:

http://stackoverflow.com/questions/3...-ftpwebrequest

its in c#, convert to vb tool here:
http://www.developerfusion.com/tools.../csharp-to-vb/

HTH