[Idea] Can someone delete that post for me Ive solve the thing 05-23-2011, 05:08 PM
#1
Please delete the tread sorry for the inconvenience
[Idea] Can someone delete that post for me Ive solve the thing filter_list | |
Dim URI As String = TextBox1.Text
For Each ss As String In IO.Directory.GetFiles(TextBox3.Text)
Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.FtpWebRequest.Create(URI), System.Net.FtpWebRequest)
request.Credentials = New System.Net.NetworkCredential(TextBox2.Text, TextBox4.Text)
request.Method = System.Net.WebRequestMethods.Ftp.UploadFile
Dim encoding As New System.Text.UTF8Encoding()
Dim file() As Byte = encoding.GetBytes(ss)
Dim strz As System.IO.Stream = request.GetRequestStream()
strz.Write(file, 0, file.Length)
strz.Close()
strz.Dispose()
Next
Quote:btw sage made something like that here XDYes i am doing something exactly like that