Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

cbkowitz

Posts

13

Joined

Thu Feb 26, 2009 5:08 am

Unable to acquire a cryptographic context

by cbkowitz » Sat Aug 14, 2010 12:57 am

I downloaded and installed the latest DLL ver 7.1.0.20 and this site work previously now I get this error:

Unable to acquire a cryptographic context. Here is the Debug Log.

DEBUG [FTPLocalFileList] 13 Aug 2010 09:54:58.906 : Adding event-handlers to ?.FTPLocalFileList for connection 2
DEBUG [FTPConnection] 13 Aug 2010 09:54:58.921 : Set LocalDirectory='c:\'
DEBUG [FTPRemoteFileList] 13 Aug 2010 09:54:58.984 : Adding event-handlers to ?.FTPRemoteFileList for connection 2
DEBUG [FTPStatusBar] 13 Aug 2010 09:54:59.000 : Adding event-handlers to ?.FTPStatusBar for connection 2
DEBUG [ExFTPConnection] 13 Aug 2010 09:54:59.000 : Loading properties from C:\Program Files\FTPMonitorAdmin\ftptempload.ftp
DEBUG [ExFTPConnection] 13 Aug 2010 09:54:59.000 : Loading properties from input-stream
DEBUG [ExFTPConnection] 13 Aug 2010 09:54:59.000 : Parsing properties
DEBUG [FTPConnection] 13 Aug 2010 09:54:59.015 : Set LocalDirectory='\\fs01.trustmark.mhc\apps\cbsbilling\workdirs\Electronic Cases\City Of Boston (2023)'
DEBUG [SecureFTPConnection] 13 Aug 2010 09:54:59.453 : Setting transfer limit of -1 bytes/sec
DEBUG [ExFTPClient] 13 Aug 2010 09:54:59.453 : No limit now set on transfers
DEBUG [SSHFTPClient] 13 Aug 2010 09:54:59.453 : No limit now set on transfers
DEBUG [HTTPClient] 13 Aug 2010 09:54:59.453 : No limit now set on transfers
DEBUG [SFTPMessageStore] 13 Aug 2010 09:54:59.453 : Set timeout=120000
DEBUG [SecureFTPConnection] 13 Aug 2010 09:54:59.453 : Setting useUnencryptedCommands=False
DEBUG [SSLFTPCertificate] 13 Aug 2010 09:54:59.453 : Attempt to load file in PEM format was unsuccessful: C:\PGPKeys\sftptsmk.pfx
DEBUG [SSLFTPCertificate] 13 Aug 2010 09:54:59.453 : Attempt to load file in CER format was unsuccessful: C:\PGPKeys\sftptsmk.pfx
INFO [LicenseProperties] 13 Aug 2010 09:55:00.156 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 13 Aug 2010 09:55:00.156 : Production license
INFO [LicenseProperties] 13 Aug 2010 09:55:00.171 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 13 Aug 2010 09:55:00.171 : Production license
DEBUG [SSLFTPClient] 13 Aug 2010 09:55:00.171 : Connecting to 140.241.102.9:20121
DEBUG [SSLFTPControlSocket] 13 Aug 2010 09:55:00.171 : waitOnShutdownSSL=True
DEBUG [HostNameResolver] 13 Aug 2010 09:55:00.171 : Resolving 140.241.102.9
DEBUG [HostNameResolver] 13 Aug 2010 09:55:00.171 : 140.241.102.9 resolved to 140.241.102.9
DEBUG [ExFTPControlSocket] 13 Aug 2010 09:55:00.171 : Connecting directly to ftp-server 140.241.102.9:20121
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.218 : Setting socket timeout=120000
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.218 : Command encoding=System.Text.ASCIIEncoding
DEBUG [ExFTPControlSocket] 13 Aug 2010 09:55:00.218 : Created control-socket: SocksContext=, ProxySettings=NoProxy, RemoteHost=140.241.102.9, controlPort=20121, timeout=120000
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.218 : StrictReturnCodes=False
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-SFTPD1 IBM FTP CS V1R10 at BSTNJES.cityhall.boston.cob, 14:50:19 on 2010-08-13.
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- ____ ___ _______ __ ___ _____ ____ ___ ____ _____ ___ _ _
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- / ___|_ _|_ _\ \ / / / _ \| ___| | __ ) / _ \/ ___|_ _/ _ \| \ | |
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- | | | | | | \ V / | | | | |_ | _ \| | | \___ \ | || | | | \| |
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- | |___ | | | | | | | |_| | _| | |_) | |_| |___) || || |_| | |\ |
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- \____|___| |_| |_| \___/|_| |____/ \___/|____/ |_| \___/|_| \_|
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- ____ _____ ____ _ _ ____ _____
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- / ___|| ____/ ___| | | | _ \| ____|
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- \___ \| _|| | | | | | |_) | _|
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- ___) | |__| |___| |_| | _ <| |___
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- |____/|_____\____|\___/|_| \_\_____|
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- _____ _____ ____ ____ _____ ______ _____ ____ _____ ____
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- | ___|_ _| _ \ / ___|| ____| _ \ \ / /_ _/ ___| ____/ ___|
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- | |_ | | | |_) | \___ \| _| | |_) \ \ / / | | | | _| \___ \
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- | _| | | | __/ ___) | |___| _ < \ V / | | |___| |___ ___) |
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220- |_| |_| |_| |____/|_____|_| \_\ \_/ |___\____|_____|____/
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-; ......... Welcome to the CITY of BOSTON SECURE SFTP/SSL site .........
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-;
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-; This site uses the Explicit SSL/TLS authentication. We are expecting
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-; both password and keyring authentification using z/OS system SSL and
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.406 : 220-; RACF services. Our server must be a trusted authority to the client.
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.453 : 220-; We are using TLS Protocol version 3.
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.453 : 220-;
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.453 : 220 Connection will close if idle for more than 2 minutes.
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:00.453 : ---> AUTH TLS
DEBUG [FTPControlSocket] 13 Aug 2010 09:55:03.562 : 234 Security environment established - ready for negotiation
DEBUG [SSLFTPControlSocket] 13 Aug 2010 09:55:03.562 : Beginning Ssl3, Tls1 handshake.
DEBUG [SocketController] 13 Aug 2010 09:55:14.187 : Processing hello
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : OnReceive - caught exception - closing
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : System.Security.Cryptography.CryptographicException: Unable to acquire a cryptographic context.
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : at K3PF7pVkUjMVSVbm9G8.iGWPLwVeKqRKAiEoFVX.rjuVakhEY(dcX1mF3cp0R5ZBwIYY , Byte[] , Byte[] )
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : at K3PF7pVkUjMVSVbm9G8.iGWPLwVeKqRKAiEoFVX.ntnBPBmxl(dcX1mF3cp0R5ZBwIYY , Byte[] )
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : at 0jdNlcVvUxMEGME52ln.TEYevwVoXDwoblmoJEo.rjuVakhEY(fMLXvZVOFUEMiSXZyCY )
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : at 0jdNlcVvUxMEGME52ln.TEYevwVoXDwoblmoJEo.ProcessMessage(fMLXvZVOFUEMiSXZyCY )
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : at qpixG0VABRrVjoFRJNn.RPwpKLVYXRsuSBiggJI.ntnBPBmxl(fZMc7srMYEm5aUKaAgM )
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : at 94mIcTrrdO2xlCJgKCN.ErHIfJrVcLjodk470HE.LDqs27n6f(Byte[] , Int32 , Int32 )
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : at JkwckgV11S5ygb63g2I.uYMLfQV9IPiWWObbMV0.nuCrPcbDH(Byte[] , Int32 , Int32 )
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : at JkwckgV11S5ygb63g2I.uYMLfQV9IPiWWObbMV0.rjuVakhEY(Byte[] , Int32 , Int32 )
ERROR [SocketController] 13 Aug 2010 09:55:14.890 : at 58oqYmrsUZjR3i4dqGU.Ggbqc4rhIR4lFmgLZqE.ntnBPBmxl(IAsyncResult )
DEBUG [SocketController] 13 Aug 2010 09:55:14.890 : CloseConnection(e=Unable to acquire a cryptographic context.)
DEBUG [SocketController] 13 Aug 2010 09:55:14.890 : Shut down socket
DEBUG [SocketController] 13 Aug 2010 09:55:14.890 : Closed socket
DEBUG [TransferBuffer] 13 Aug 2010 09:55:14.890 : Close() called when open
DEBUG [SecureSocket] 13 Aug 2010 09:55:14.890 : OnHandshakeComplete(False,Unable to acquire a cryptographic context.)
ERROR [SecureSocket] 13 Aug 2010 09:55:14.890 : Exception during handshake: Unable to acquire a cryptographic context.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Unable to acquire a cryptographic context

by support2 » Sat Aug 14, 2010 7:59 am

What .NET version are you 1) compiling with 2) using?

Could you try disabling server validation to see if that works?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Unable to acquire a cryptographic context

by support2 » Sat Aug 14, 2010 3:54 pm

Please try this DLL:

http://www.enterprisedt.com/products/tm ... netPRO.zip

and let us know the result. We've made a change that *may* help but can't replicate your error yet.
no avatar
User

cbkowitz

Posts

13

Joined

Thu Feb 26, 2009 5:08 am

by cbkowitz » Mon Aug 16, 2010 10:05 pm

Thanks, I will try the dll today or tomorrow and let you know the results.
no avatar
User

cbkowitz

Posts

13

Joined

Thu Feb 26, 2009 5:08 am

by cbkowitz » Tue Aug 17, 2010 9:54 pm

Same error and I tried with ServerValidation on and off with the new dll. Here's the debug log again:

DEBUG [FTPLocalFileList] 17 Aug 2010 06:54:15.703 : Adding event-handlers to ?.FTPLocalFileList for connection 4
DEBUG [FTPConnection] 17 Aug 2010 06:54:15.703 : Set LocalDirectory='c:\'
DEBUG [FTPRemoteFileList] 17 Aug 2010 06:54:15.718 : Adding event-handlers to ?.FTPRemoteFileList for connection 4
DEBUG [FTPStatusBar] 17 Aug 2010 06:54:15.718 : Adding event-handlers to ?.FTPStatusBar for connection 4
DEBUG [ExFTPConnection] 17 Aug 2010 06:54:15.718 : Loading properties from C:\My Documents\Visual Studio 2008\Projects\FTPMonitor\FTPMonitorAdmin\FTPMonitorAdmin\bin\Release\ftptempload.ftp
DEBUG [ExFTPConnection] 17 Aug 2010 06:54:15.718 : Loading properties from input-stream
DEBUG [ExFTPConnection] 17 Aug 2010 06:54:15.718 : Parsing properties
DEBUG [FTPConnection] 17 Aug 2010 06:54:15.734 : Set LocalDirectory='\\fs01.trustmark.mhc\apps\cbsbilling\workdirs\Electronic Cases\City Of Boston (2023)'
DEBUG [SecureFTPConnection] 17 Aug 2010 06:54:16.156 : Setting transfer limit of -1 bytes/sec
DEBUG [ExFTPClient] 17 Aug 2010 06:54:16.156 : No limit now set on transfers
DEBUG [SSHFTPClient] 17 Aug 2010 06:54:16.156 : No limit now set on transfers
DEBUG [HTTPClient] 17 Aug 2010 06:54:16.156 : No limit now set on transfers
DEBUG [SFTPMessageStore] 17 Aug 2010 06:54:16.156 : Set timeout=120000
DEBUG [SecureFTPConnection] 17 Aug 2010 06:54:16.156 : Setting useUnencryptedCommands=False
DEBUG [SSLFTPCertificate] 17 Aug 2010 06:54:16.171 : Attempt to load file in PEM format was unsuccessful: C:\PGPKeys\sftptsmk.pfx
DEBUG [SSLFTPCertificate] 17 Aug 2010 06:54:16.171 : Attempt to load file in CER format was unsuccessful: C:\PGPKeys\sftptsmk.pfx
INFO [LicenseProperties] 17 Aug 2010 06:54:16.453 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 17 Aug 2010 06:54:16.453 : Production license
INFO [LicenseProperties] 17 Aug 2010 06:54:16.453 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 17 Aug 2010 06:54:16.453 : Production license
DEBUG [SSLFTPClient] 17 Aug 2010 06:54:16.453 : Connecting to 140.241.102.9:20121
DEBUG [SSLFTPControlSocket] 17 Aug 2010 06:54:16.453 : waitOnShutdownSSL=True
DEBUG [HostNameResolver] 17 Aug 2010 06:54:16.453 : Resolving 140.241.102.9
DEBUG [HostNameResolver] 17 Aug 2010 06:54:16.453 : 140.241.102.9 resolved to 140.241.102.9
DEBUG [ExFTPControlSocket] 17 Aug 2010 06:54:16.453 : Connecting directly to ftp-server 140.241.102.9:20121
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.500 : Setting socket timeout=120000
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.500 : Command encoding=System.Text.ASCIIEncoding
DEBUG [ExFTPControlSocket] 17 Aug 2010 06:54:16.500 : Created control-socket: SocksContext=, ProxySettings=NoProxy, RemoteHost=140.241.102.9, controlPort=20121, timeout=120000
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.500 : StrictReturnCodes=False
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-SFTPD1 IBM FTP CS V1R10 at BSTNJES.cityhall.boston.cob, 11:49:31 on 2010-08-17.
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- ____ ___ _______ __ ___ _____ ____ ___ ____ _____ ___ _ _
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- / ___|_ _|_ _\ \ / / / _ \| ___| | __ ) / _ \/ ___|_ _/ _ \| \ | |
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- | | | | | | \ V / | | | | |_ | _ \| | | \___ \ | || | | | \| |
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- | |___ | | | | | | | |_| | _| | |_) | |_| |___) || || |_| | |\ |
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- \____|___| |_| |_| \___/|_| |____/ \___/|____/ |_| \___/|_| \_|
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- ____ _____ ____ _ _ ____ _____
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- / ___|| ____/ ___| | | | _ \| ____|
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- \___ \| _|| | | | | | |_) | _|
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- ___) | |__| |___| |_| | _ <| |___
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- |____/|_____\____|\___/|_| \_\_____|
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- _____ _____ ____ ____ _____ ______ _____ ____ _____ ____
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- | ___|_ _| _ \ / ___|| ____| _ \ \ / /_ _/ ___| ____/ ___|
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- | |_ | | | |_) | \___ \| _| | |_) \ \ / / | | | | _| \___ \
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- | _| | | | __/ ___) | |___| _ < \ V / | | |___| |___ ___) |
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220- |_| |_| |_| |____/|_____|_| \_\ \_/ |___\____|_____|____/
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-; ......... Welcome to the CITY of BOSTON SECURE SFTP/SSL site .........
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-;
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-; This site uses the Explicit SSL/TLS authentication. We are expecting
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-; both password and keyring authentification using z/OS system SSL and
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.625 : 220-; RACF services. Our server must be a trusted authority to the client.
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.703 : 220-; We are using TLS Protocol version 3.
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.703 : 220-;
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.703 : 220 Connection will close if idle for more than 2 minutes.
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:16.703 : ---> AUTH TLS
DEBUG [FTPControlSocket] 17 Aug 2010 06:54:22.453 : 234 Security environment established - ready for negotiation
DEBUG [SSLFTPControlSocket] 17 Aug 2010 06:54:22.453 : Beginning Ssl3, Tls1 handshake.
DEBUG [SocketController] 17 Aug 2010 06:54:27.343 : Processing hello
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : OnReceive - caught exception - closing
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : System.Security.Cryptography.CryptographicException: Unable to acquire a cryptographic context.
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : at 3DaRSF2vqEAJplsoghi.uGqKkt203Tii4QFUmQG.X0u26xnL0(MPd9gY7NcNHAEdqoWM , Byte[] , Byte[] )
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : at 3DaRSF2vqEAJplsoghi.uGqKkt203Tii4QFUmQG.fjQIiX8Ck(MPd9gY7NcNHAEdqoWM , Byte[] )
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : at mgbPRv2XiY1gnZQi8Zq.1oWuYU2fhJvh5Mw8HgL.X0u26xnL0(GQhEA22TEHftaIuukGs )
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : at mgbPRv2XiY1gnZQi8Zq.1oWuYU2fhJvh5Mw8HgL.ProcessMessage(GQhEA22TEHftaIuukGs )
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : at QW1JlD26Q0PUusTHUFt.W7gmk024dy2CATQE7OI.fjQIiX8Ck(1Ll8GRy5w0fDU5DytEI )
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : at 36NuKQyyQU8yZo6fB45.yFJTwty27vZljo34A0H.hmVmZqWQt(Byte[] , Int32 , Int32 )
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : at wwZK3y2LwqBhcWcCqv4.hq9oXT2isc8OKwN2Q8U.U3cxZjEMO(Byte[] , Int32 , Int32 )
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : at wwZK3y2LwqBhcWcCqv4.hq9oXT2isc8OKwN2Q8U.X0u26xnL0(Byte[] , Int32 , Int32 )
ERROR [SocketController] 17 Aug 2010 06:54:27.375 : at OCy2vmylNKjQLmesVJJ.GhIfnGyHd8qEbS4GHKf.fjQIiX8Ck(IAsyncResult )
DEBUG [SocketController] 17 Aug 2010 06:54:27.375 : CloseConnection(e=Unable to acquire a cryptographic context.)
DEBUG [SocketController] 17 Aug 2010 06:54:27.375 : Shut down socket
DEBUG [SocketController] 17 Aug 2010 06:54:27.375 : Closed socket
DEBUG [TransferBuffer] 17 Aug 2010 06:54:27.375 : Close() called when open
DEBUG [SecureSocket] 17 Aug 2010 06:54:27.375 : OnHandshakeComplete(False,Unable to acquire a cryptographic context.)
ERROR [SecureSocket] 17 Aug 2010 06:54:27.375 : Exception during handshake: Unable to acquire a cryptographic context.
no avatar
User

cbkowitz

Posts

13

Joined

Thu Feb 26, 2009 5:08 am

by cbkowitz » Tue Aug 17, 2010 10:06 pm

New wrinkle, this works on another PC.

Both PC's are using the same config file, program and dll.

Here's the debug log from the one that works:

DEBUG [ExFTPConnection] 17 Aug 2010 06:57:26.516 : Loading properties from C:\Program Files\FTPMonitorAdmin\ftptempload.ftp
DEBUG [ExFTPConnection] 17 Aug 2010 06:57:26.531 : Loading properties from input-stream
DEBUG [ExFTPConnection] 17 Aug 2010 06:57:26.531 : Parsing properties
DEBUG [FTPConnection] 17 Aug 2010 06:57:26.531 : Set LocalDirectory='\\fs01.trustmark.mhc\apps\cbsbilling\workdirs\Electronic Cases\City Of Boston (2023)'
DEBUG [SecureFTPConnection] 17 Aug 2010 06:57:26.734 : Setting transfer limit of -1 bytes/sec
DEBUG [ExFTPClient] 17 Aug 2010 06:57:26.734 : No limit now set on transfers
DEBUG [SSHFTPClient] 17 Aug 2010 06:57:26.734 : No limit now set on transfers
DEBUG [HTTPClient] 17 Aug 2010 06:57:26.734 : No limit now set on transfers
DEBUG [SFTPMessageStore] 17 Aug 2010 06:57:26.734 : Set timeout=120000
DEBUG [SecureFTPConnection] 17 Aug 2010 06:57:26.734 : Setting useUnencryptedCommands=False
DEBUG [SSLFTPCertificate] 17 Aug 2010 06:57:26.734 : Attempt to load file in PEM format was unsuccessful: C:\PGPKeys\sftptsmk.pfx
DEBUG [SSLFTPCertificate] 17 Aug 2010 06:57:26.734 : Attempt to load file in CER format was unsuccessful: C:\PGPKeys\sftptsmk.pfx
INFO [LicenseProperties] 17 Aug 2010 06:57:26.797 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 17 Aug 2010 06:57:26.797 : Production license
INFO [LicenseProperties] 17 Aug 2010 06:57:26.813 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 17 Aug 2010 06:57:26.813 : Production license
DEBUG [SSLFTPClient] 17 Aug 2010 06:57:26.813 : Connecting to 140.241.102.9:20121
DEBUG [SSLFTPControlSocket] 17 Aug 2010 06:57:26.813 : waitOnShutdownSSL=True
DEBUG [HostNameResolver] 17 Aug 2010 06:57:26.828 : Resolving 140.241.102.9
DEBUG [HostNameResolver] 17 Aug 2010 06:57:26.828 : 140.241.102.9 resolved to 140.241.102.9
DEBUG [ExFTPControlSocket] 17 Aug 2010 06:57:26.828 : Connecting directly to ftp-server 140.241.102.9:20121
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:26.891 : Setting socket timeout=120000
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:26.891 : Command encoding=System.Text.ASCIIEncoding
DEBUG [ExFTPControlSocket] 17 Aug 2010 06:57:26.891 : Created control-socket: SocksContext=, ProxySettings=NoProxy, RemoteHost=140.241.102.9, controlPort=20121, timeout=120000
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:26.891 : StrictReturnCodes=False
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.703 : 220-SFTPD1 IBM FTP CS V1R10 at BSTNJES.cityhall.boston.cob, 11:55:15 on 2010-08-17.
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.719 : 220- ____ ___ _______ __ ___ _____ ____ ___ ____ _____ ___ _ _
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.719 : 220- / ___|_ _|_ _\ \ / / / _ \| ___| | __ ) / _ \/ ___|_ _/ _ \| \ | |
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.719 : 220- | | | | | | \ V / | | | | |_ | _ \| | | \___ \ | || | | | \| |
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.719 : 220- | |___ | | | | | | | |_| | _| | |_) | |_| |___) || || |_| | |\ |
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.719 : 220- \____|___| |_| |_| \___/|_| |____/ \___/|____/ |_| \___/|_| \_|
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.719 : 220-
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.719 : 220- ____ _____ ____ _ _ ____ _____
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220- / ___|| ____/ ___| | | | _ \| ____|
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220- \___ \| _|| | | | | | |_) | _|
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220- ___) | |__| |___| |_| | _ <| |___
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220- |____/|_____\____|\___/|_| \_\_____|
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220-
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220- _____ _____ ____ ____ _____ ______ _____ ____ _____ ____
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220- | ___|_ _| _ \ / ___|| ____| _ \ \ / /_ _/ ___| ____/ ___|
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220- | |_ | | | |_) | \___ \| _| | |_) \ \ / / | | | | _| \___ \
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220- | _| | | | __/ ___) | |___| _ < \ V / | | |___| |___ ___) |
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220- |_| |_| |_| |____/|_____|_| \_\ \_/ |___\____|_____|____/
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220-
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220-
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220-; ......... Welcome to the CITY of BOSTON SECURE SFTP/SSL site .........
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220-;
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220-; This site uses the Explicit SSL/TLS authentication. We are expecting
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220-; both password and keyring authentification using z/OS system SSL and
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.734 : 220-; RACF services. Our server must be a trusted authority to the client.
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.797 : 220-; We are using TLS Protocol version 3.
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.797 : 220-;
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.797 : 220 Connection will close if idle for more than 2 minutes.
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:27.813 : ---> AUTH TLS
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:32.859 : 234 Security environment established - ready for negotiation
DEBUG [SSLFTPControlSocket] 17 Aug 2010 06:57:32.859 : Beginning Ssl3, Tls1 handshake.
DEBUG [SocketController] 17 Aug 2010 06:57:41.313 : Processing hello
DEBUG [SecureSocket] 17 Aug 2010 06:57:41.641 : OnHandshakeComplete(True,null)
DEBUG [SSLFTPControlSocket] 17 Aug 2010 06:57:41.641 : Ssl3, Tls1 handshake complete.
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:41.641 : ---> PBSZ 0
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:41.688 : 200 Protection buffer size accepted
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:41.688 : ---> PROT P
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:41.734 : 200 Data connection protection set to private
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:41.734 : ---> USER SFTPTSMK
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:41.781 : 331 Send password please.
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:41.781 : ---> PASS ********
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.172 : 230-;
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.359 : 230-; You have successfully logged in to our Secure FTP site and mapped
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.359 : 230-; into your home directory. Access restrictions apply.
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.359 : 230-;
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.359 : 230-; To stop the connection, enter the QUIT (or quit) command.....
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.359 : 230-;
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.359 : 230-; Please continue..........
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.359 : 230-;
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.359 : 230 SFTPTSMK is logged on. Working directory is "/u/sftp/trustmark_insurance".
DEBUG [FTPConnection] 17 Aug 2010 06:57:42.359 : Successfully logged in
DEBUG [ExFTPConnection] 17 Aug 2010 06:57:42.375 : Starting KeepAlive thread with period 30s
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.375 : ---> TYPE A
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.422 : 200 Representation type is Ascii NonPrint
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.422 : ---> PWD
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.453 : 257 "/u/sftp/trustmark_insurance" is the HFS working directory.
DEBUG [FTPTaskProcessor] 17 Aug 2010 06:57:42.484 : Invoking task on connection 0: [ID=1] GetFileInfos()
DEBUG [FTPTaskProcessor] 17 Aug 2010 06:57:42.484 : Running task on connection 0: [ID=1] GetFileInfos()
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.484 : ---> SYST
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.531 : 215 UNIX is the operating system of this server. FTP Server is running on z/OS.
DEBUG [FTPFileFactory] 17 Aug 2010 06:57:42.531 : Selected UNIX parser
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.531 : ---> PWD
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.578 : 257 "/u/sftp/trustmark_insurance" is the HFS working directory.
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.703 : ---> PASV
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.750 : 227 Entering Passive Mode (140,241,102,9,5,182)
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.750 : Server supplied address=140.241.102.9
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.750 : Server supplied port=1462
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.750 : Substituting server supplied IP (140.241.102.9) with remote host IP (140.241.102.9)
DEBUG [HostNameResolver] 17 Aug 2010 06:57:42.750 : Resolving 140.241.102.9
DEBUG [HostNameResolver] 17 Aug 2010 06:57:42.750 : 140.241.102.9 resolved to 140.241.102.9
DEBUG [ExFTPControlSocket] 17 Aug 2010 06:57:42.750 : Connecting directly to ftp-server 140.241.102.9:1462
DEBUG [ExFTPPassiveDataSocket] 17 Aug 2010 06:57:42.797 : Created passive data-socket: ProxyConnector=
DEBUG [SSLFTPPassiveDataSocket] 17 Aug 2010 06:57:42.797 : Created passive data-socket: Protocol=Ssl3, Tls1, CompatibilityFlags=Standard, UseSSLClosure=True, WaitOnClose=True
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:42.797 : ---> LIST
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:43.156 : 125 List started OK
DEBUG [FTPClient] 17 Aug 2010 06:57:43.156 : Reading ASCII listing data
DEBUG [SSLFTPPassiveDataSocket] 17 Aug 2010 06:57:43.156 : Beginning Ssl3, Tls1 handshake on passive data-channel
DEBUG [SocketController] 17 Aug 2010 06:57:43.312 : Processing hello
DEBUG [SecureSocket] 17 Aug 2010 06:57:43.422 : OnHandshakeComplete(True,null)
DEBUG [SSLFTPPassiveDataSocket] 17 Aug 2010 06:57:43.422 : Handshake complete
DEBUG [SocketController] 17 Aug 2010 06:57:43.422 : OnReceive closing (size == 0)
DEBUG [SocketController] 17 Aug 2010 06:57:43.422 : CloseConnection(e=null)
DEBUG [SocketController] 17 Aug 2010 06:57:43.422 : Shut down socket
DEBUG [SocketController] 17 Aug 2010 06:57:43.422 : Closed socket
DEBUG [TransferBuffer] 17 Aug 2010 06:57:43.422 : Close() called when open
DEBUG [SSLFTPPassiveDataSocket] 17 Aug 2010 06:57:43.422 : Attempt to close unconnected passive data-channel.
DEBUG [FTPClient] 17 Aug 2010 06:57:43.422 : -->total 800
DEBUG [FTPClient] 17 Aug 2010 06:57:43.422 : -->-rw-r----- 1 CTMXMITS SFTPGRP 399629 Aug 12 11:30 BSTN_addendum.txt
DEBUG [FTPControlSocket] 17 Aug 2010 06:57:43.453 : 250 List completed successfully.
DEBUG [FTPClient] 17 Aug 2010 06:57:43.453 : Found 2 listing lines
DEBUG [FTPFileFactory] 17 Aug 2010 06:57:43.469 : Parse() called using culture: Invariant Language (Invariant Country)
DEBUG [FTPFileFactory] 17 Aug 2010 06:57:43.469 : Confirmed format UNIX
DEBUG [ExFTPConnection] 17 Aug 2010 06:58:13.875 : KeepAlive - testing connection
DEBUG [ExFTPConnection] 17 Aug 2010 06:58:13.875 : Testing connection
DEBUG [FTPControlSocket] 17 Aug 2010 06:58:13.875 : ---> PWD
DEBUG [FTPControlSocket] 17 Aug 2010 06:58:13.906 : 257 "/u/sftp/trustmark_insurance" is the HFS working directory.
DEBUG [SocketController] 17 Aug 2010 06:58:19.047 : Dispose()
DEBUG [SocketController] 17 Aug 2010 06:58:19.047 : CloseConnection(e=null)
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Tue Aug 17, 2010 10:58 pm

Thanks - if you know what version of .NET each is using that would be helpful.

Will get back to you with another build asap.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Tue Aug 17, 2010 11:35 pm

Here's another build - I can see why the previous one didn't work for you.

http://www.enterprisedt.com/products/tm ... netPRO.zip

If this doesn't work we'll have to investigate a bit further re permissions & .NET versions - it seems to be a permission problem.
no avatar
User

cbkowitz

Posts

13

Joined

Thu Feb 26, 2009 5:08 am

by cbkowitz » Wed Aug 18, 2010 12:58 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Wed Aug 18, 2010 3:58 pm

no avatar
User

cbkowitz

Posts

13

Joined

Thu Feb 26, 2009 5:08 am

by cbkowitz » Wed Aug 18, 2010 10:09 pm

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Wed Aug 18, 2010 11:10 pm

no avatar
User

cbkowitz

Posts

13

Joined

Thu Feb 26, 2009 5:08 am

by cbkowitz » Wed Aug 18, 2010 11:13 pm

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Thu Aug 19, 2010 6:12 pm

no avatar
User

cbkowitz

Posts

13

Joined

Thu Feb 26, 2009 5:08 am

by cbkowitz » Thu Aug 19, 2010 9:53 pm


Who is online

Users browsing this forum: No registered users and 29 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron