officegrabs
New member
- Joined
- Aug 23, 2010
- Messages
- 1
- Programming Experience
- Beginner
hi
i am trying to creat a small exe that each time the use will open the exe it shuold download a file callled sku.csv from a tfp server and save it to a local disc
here is the code i wrote untill now
how do i tell the program the path where to save the file to my local disc????
i am trying to creat a small exe that each time the use will open the exe it shuold download a file callled sku.csv from a tfp server and save it to a local disc
here is the code i wrote untill now
VB.NET:
Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://office.com/Export/sku.csv"), System.Net.FtpWebRequest)
request.Credentials = New System.Net.NetworkCredential("user", "password")
request.Method = System.Net.WebRequestMethods.Ftp.DownloadFile
how do i tell the program the path where to save the file to my local disc????