Hi Bruce,
Yes I think we went down the wrong track. Let me explain better. I have a client app that is used to upload files to my NTServer. The below is the code under the Post button in my client.
net.SetAllHeadersDefault()
net.OptionAutoCookie = 1
net.CanUseProxy = fCon:UseProxy
IF fCon:UseProxy
net.Pragma_ = 'No-Cache' ! Force any proxies to not use their cache. Uses more bandwidth but will contact the webserver directly which is what we want.
net.CacheControl = 'No-Cache'! Force any proxies to not use their cache. Uses more bandwidth but will contact the webserver directly which is what we want.
END
! ThisWebClient.SSLCertificateOptions.CertificateFile = ''
! ThisWebClient.SSLCertificateOptions.PrivateKeyFile = ''
! ThisWebClient.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName = DontVerifyRemoteCertificateCommonName
! ThisWebClient.SSLCertificateOptions.DontVerifyRemoteCertificateWithCARoot = DontVerifyRemoteCertificateWithCARoot
Attachment = 'C:\BIN\iwif_11242014.csv' ! For Testing
net.SetValue('uid','test')
net.SetValue('pwd','test')
net.SetValue('joborder','915039')
net.SetValue('filename1',CLIP(Attachment),Net:IsFile)
net.SetValue('pressedButton','save_btn')
loc:url = '
www.mycustommailing.com/uploadpage'
net.Post(loc:url, '')
I know the post is working because I can see the information on my server when posted.
Everything looks normal but it does not save the file nor does it write to the database any information.
It is like the net.SetValue('pressedButton','save_btn') is not being recognized by the uploadpage webform.
This is all working in another app that is used to upload data files. This app was cloned from another that is working.
Ashley