https://enterprisedt.com/products/edtft ... ghttp.html
So, I set the protocol to FileTransferProtocol.HTTP and the port to 443. and I set the username and password and the transfer type to FTPTransferType.BINARY. But I am getting errors when I run the job. It doesn't look like it is connecting at all.
I tested with WS_FTP Pro to check if it was a firewall issue but I can connect with it.
Here are the logs:
- Code: Select all
INFO [FTPConnection] 1 Sep 2015 16:07:10.879 : OS: 6.1.7601.65536, CLR: 2.0.50727.5485, DLL: 8.6.3.20
INFO [FTPConnection] 1 Sep 2015 16:07:10.879 : Built: 18-Nov-2014 10:00:14 GMT
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 1 Sep 2015 16:07:10.894 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
INFO [LicenseProperties] 1 Sep 2015 16:07:10.910 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 1 Sep 2015 16:07:10.910 : Production license
DEBUG [FTPConnection] 1 Sep 2015 16:07:10.910 : Set LocalDirectory='C:\WINDOWS\SysWOW64\inetsrv'
DEBUG [SecureFTPConnection] 1 Sep 2015 16:07:10.910 : Set LocalDirectory to C:\WINDOWS\SysWOW64\inetsrv
INFO [FTPConnection] 1 Sep 2015 16:07:10.910 : Auto FEAT disabled
DEBUG [FTPConnection] 1 Sep 2015 16:07:10.910 : Home directory is '/'
DEBUG [ExFTPConnection] 1 Sep 2015 16:07:10.926 : Attempt 1: Overwrite
DEBUG [FTPConnection] 1 Sep 2015 16:07:10.926 : UploadFile(X:\XXX\XXX.XXX,,Overwrite)
DEBUG [HTTPClient] 1 Sep 2015 16:07:10.926 : Put(X:\XXX\XXX.XXX, ,False)
INFO [LicenseProperties] 1 Sep 2015 16:07:10.926 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 1 Sep 2015 16:07:10.926 : Production license
DEBUG [HTTPClient] 1 Sep 2015 16:07:10.926 : Get: URL=https://XXXXXXXXXXXX.com:443/
DEBUG [HttpRequest] 1 Sep 2015 16:07:10.941 : Setting credentials - username=XXXXXXXX
DEBUG [HTTPClient] 1 Sep 2015 16:07:10.941 : PutBinary(X:\XXX\XXX.XXX, )
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : Caught exception The underlying connection was closed: An unexpected error occurred on a send.
DEBUG [HTTPClient] 1 Sep 2015 16:07:11.128 : Closing source stream
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : Caught exception
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.HttpWebRequest.GetRequestStream()
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at smYatWN1pfr4PLSsy0n.TuqxHiNVuxNFqxJKOQT.AV32qznlPuB()
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at EnterpriseDT.Net.Ftp.Http.HttpClient.dPga83ae42(Stream , String , eVFB7s40QWPhdjNYeUw , Boolean )
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : CAUSED BY - System.IO.IOException: The underlying connection was closed: An unexpected error occurred on a send.
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.TlsStream.CallProcessAuthentication(Object state)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Threading.ExecutionContext.runTryCode(Object userData)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
ERROR [HTTPClient] 1 Sep 2015 16:07:11.128 : at System.Net.ConnectStream.WriteHeaders(Boolean async)
DEBUG [FTPConnection] 1 Sep 2015 16:07:11.144 : Closing connection [instance=0,abrupt=False]