I didn't expect to find a draft in that list. Thanks.
But it doesn't work for me! When I choose the latest draft of Debugging Live Systems and try to compare it to the most recently published version, I see no changes at all, which isn't surprising because it says
Comparing revision 6 (Wednesday, February 5, 202010:47am) and revision 6 (Tuesday, February 4, 20202:49pm)
Maybe a chat about how to publish blog so it doesn't break when feeding?
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
Problem with VB.net code.
After windows update to 1903 version this code(which worked before) leaves an empty file on the server.
Can someone help me?
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
UploadFile("C:\test.txt, Servername & "/test.txt", User, PW)
Public Sub UploadFile(ByVal _FileName As String, ByVal _UploadPath As String, ByVal _FTPUser As String, ByVal _FTPPass As String)
Dim _FileInfo As New System.IO.FileInfo(_FileName)
Dim _FtpWebRequest As System.Net.FtpWebRequest = CType(System.Net.FtpWebRequest.Create(New Uri(_UploadPath)), System.Net.FtpWebRequest)
_FtpWebRequest.Credentials = New System.Net.NetworkCredential(_FTPUser, _FTPPass)
_FtpWebRequest.EnableSsl = True
_FtpWebRequest.KeepAlive = False
_FtpWebRequest.Timeout = 15000
_FtpWebRequest.Method = System.Net.WebRequestMethods.Ftp.UploadFile
_FtpWebRequest.UseBinary = True
_FtpWebRequest.ContentLength = _FileInfo.Length
Dim buffLength As Integer = 2048
Dim buff(buffLength - 1) As Byte
Dim _FileStream As System.IO.FileStream = _FileInfo.OpenRead()
Dim _Stream As System.IO.Stream = _FtpWebRequest.GetRequestStream()
Dim contentLen As Integer = _FileStream.Read(buff, 0, buffLength)
Do While contentLen <> 0
_Stream.Write(buff, 0, contentLen)
contentLen = _FileStream.Read(buff, 0, buffLength)
Catch ex As Exception