I've written a little routine for an app that takes a file from my local computer here and uloads it to my website:

Code:
        Dim myFile As IO.File
        Dim SW As IO.StreamWriter
        SW = myFile.AppendText(cWorkFile)
        SW.WriteLine("open www.stingrae.com.au")
        SW.WriteLine(cUserID)
        SW.WriteLine(cPassword)
        SW.WriteLine("put " & cFileName)
        SW.WriteLine("quit")
        SW.Close()
        Dim p As Process
        p.Start("ftp -s:" & cWorkFile)
        myFile.Delete(cWorkFile)
the code works, but being the perfectionist that i am, i would really prefer a better scenario. like, at the moment, i have no idea whether it connects or works or anything! what's worse, is that if it doesn't work, then the user id & password are both sitting in a plain text file on the local pc! aaaahhhh!!

are there any neat vb.net commands to do this? surely with all the technology now available, puting a file on a web site should be simple?