CPU pegged at 100 with sample 5 (General questions)
Hi,
I am having challenges with the VB sample #5. I have gotten it to connect to the server and have had success uploading small files (< 10k) to the server using the code below. However, when I set it to upload a file larger than ~10k, it pegs the CPU at 100 and hangs.. No part of the file is uploaded and I have to kill the vb app. Is there some parameter that I am missing?
wodHttp1.Timeout = 5
wodHttp1.URL = https://www.server.com
wodHttp1.Authentication = AuthAutomatic
wodHttp1.ProxyAuthentication = AuthAutomatic
wodHttp1.AutoRedirect = True
wodHttp1.Blocking = False
wodHttp1.Login = username
wodHttp1.Password = pwd
wodHttp1.Request.FormUpload.AddFile TheFile , c: emp est.txt
wodHttp1.Request.FormUpload.Add Name , Test
wodHttp1.Post /subfolder/