stewartg
I am using sftplib in a production environment to ftp orders over ssl from the website to a mainframe. sftplib has worked great until saturday may 17 when it instantly stopped working. I have restarted com and restarted the server, however I still unable to ftp files using sftplib v1.5.13.6. I have manually connected to the destination using filezilla to ensure there is not a networking issue.
A normal transaction looks like this:
[20080517 13:59:32] SmartFTP FTP Library v1.5.13.6
[20080517 13:59:32] Resolving host name "******.*******.***********.***"
[20080517 13:59:32] Connecting to ***.***.**.** Port: 21
[20080517 13:59:33] Connected to ******.*******.***********.***.
[20080517 13:59:33] 220 SecureLink FTP Proxy (Version 3.0.2.365) ready.
[20080517 13:59:33] AUTH TLS
[20080517 13:59:33] 234 AUTH TLS OK. TLS enabled and waiting for negotiation.
[20080517 13:59:33] Connected. Exchanging encryption keys...
[20080517 13:59:33] Session Cipher: 128 bit RC4
[20080517 13:59:33] TLS encrypted session established.
[20080517 13:59:33] PBSZ 0
[20080517 13:59:33] 200 PBSZ OK.
[20080517 13:59:33] USER *********
[20080517 13:59:33] 331 Password required for *********.
[20080517 13:59:33] PASS (hidden)
[20080517 13:59:33] 230 User ********* logged in. Session ID 279239993
[20080517 13:59:33] SYST
[20080517 13:59:33] 215 UNIX Type L8
[20080517 13:59:33] Detected Server Type: UNIX
[20080517 13:59:33] FEAT
[20080517 13:59:33] 502 Command not supported.
[20080517 13:59:33] TYPE I
[20080517 13:59:33] 200 Type set to I.
[20080517 13:59:33] REST 0
[20080517 13:59:33] 502 Command not supported.
[20080517 13:59:33] PWD
[20080517 13:59:33] 257 "/home/*********" is current directory.
[20080517 13:59:33] CWD /home/*********/tovan/edi
[20080517 13:59:33] 250 CWD command successful.
[20080517 13:59:33] PWD
[20080517 13:59:33] 257 "/home/*********/tovan/edi" is current directory.
[20080517 13:59:33] PROT P
[20080517 13:59:33] 200 PROT P successful. Data channel will be protected.
[20080517 13:59:33] PASV
[20080517 13:59:33] 227 Entering Passive Mode (150,105,62,17,170,27)
[20080517 13:59:33] Opening data connection to 150.105.62.17 Port: 43547
[20080517 13:59:33] STOR 005245609.edi
[20080517 13:59:33] Connected. Exchanging encryption keys...
[20080517 13:59:33] 150 Opening BINARY mode data connection.
[20080517 13:59:34] Session Cipher: 128 bit RC4
[20080517 13:59:34] TLS encrypted session established.
[20080517 13:59:34] 598 bytes transferred. (1.28 KB/s) (453 ms)
[20080517 13:59:35] 226 Transfer complete.
[20080517 13:59:35] QUIT
[20080517 13:59:35] 221 You have transferred 598 bytes in 1 file(s).
[20080517 13:59:35] Client closed the connection.
However, beginning the 18th my log files look like this:
[20080519 16:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 17:44:30] SmartFTP FTP Library v1.5.13.6
[20080519 18:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 19:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 20:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 20:59:29] SmartFTP FTP Library v1.5.13.6
[20080519 21:14:29] SmartFTP FTP Library v1.5.13.6
[20080519 21:29:30] SmartFTP FTP Library v1.5.13.6
[20080519 21:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 21:59:29] SmartFTP FTP Library v1.5.13.6
[20080519 22:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 23:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 23:59:30] SmartFTP FTP Library v1.5.13.6
[20080520 00:44:29] SmartFTP FTP Library v1.5.13.6
[20080520 00:59:29] SmartFTP FTP Library v1.5.13.6
[20080520 01:29:28] SmartFTP FTP Library v1.5.13.6
[20080520 01:44:29] SmartFTP FTP Library v1.5.13.6
[20080520 01:59:29] SmartFTP FTP Library v1.5.13.6
[20080520 02:14:29] SmartFTP FTP Library v1.5.13.6
[20080520 02:29:29] SmartFTP FTP Library v1.5.13.6
[20080520 03:44:29] SmartFTP FTP Library v1.5.13.6
[20080520 03:59:30] SmartFTP FTP Library v1.5.13.6
No files are being transferred.
A normal transaction looks like this:
[20080517 13:59:32] SmartFTP FTP Library v1.5.13.6
[20080517 13:59:32] Resolving host name "******.*******.***********.***"
[20080517 13:59:32] Connecting to ***.***.**.** Port: 21
[20080517 13:59:33] Connected to ******.*******.***********.***.
[20080517 13:59:33] 220 SecureLink FTP Proxy (Version 3.0.2.365) ready.
[20080517 13:59:33] AUTH TLS
[20080517 13:59:33] 234 AUTH TLS OK. TLS enabled and waiting for negotiation.
[20080517 13:59:33] Connected. Exchanging encryption keys...
[20080517 13:59:33] Session Cipher: 128 bit RC4
[20080517 13:59:33] TLS encrypted session established.
[20080517 13:59:33] PBSZ 0
[20080517 13:59:33] 200 PBSZ OK.
[20080517 13:59:33] USER *********
[20080517 13:59:33] 331 Password required for *********.
[20080517 13:59:33] PASS (hidden)
[20080517 13:59:33] 230 User ********* logged in. Session ID 279239993
[20080517 13:59:33] SYST
[20080517 13:59:33] 215 UNIX Type L8
[20080517 13:59:33] Detected Server Type: UNIX
[20080517 13:59:33] FEAT
[20080517 13:59:33] 502 Command not supported.
[20080517 13:59:33] TYPE I
[20080517 13:59:33] 200 Type set to I.
[20080517 13:59:33] REST 0
[20080517 13:59:33] 502 Command not supported.
[20080517 13:59:33] PWD
[20080517 13:59:33] 257 "/home/*********" is current directory.
[20080517 13:59:33] CWD /home/*********/tovan/edi
[20080517 13:59:33] 250 CWD command successful.
[20080517 13:59:33] PWD
[20080517 13:59:33] 257 "/home/*********/tovan/edi" is current directory.
[20080517 13:59:33] PROT P
[20080517 13:59:33] 200 PROT P successful. Data channel will be protected.
[20080517 13:59:33] PASV
[20080517 13:59:33] 227 Entering Passive Mode (150,105,62,17,170,27)
[20080517 13:59:33] Opening data connection to 150.105.62.17 Port: 43547
[20080517 13:59:33] STOR 005245609.edi
[20080517 13:59:33] Connected. Exchanging encryption keys...
[20080517 13:59:33] 150 Opening BINARY mode data connection.
[20080517 13:59:34] Session Cipher: 128 bit RC4
[20080517 13:59:34] TLS encrypted session established.
[20080517 13:59:34] 598 bytes transferred. (1.28 KB/s) (453 ms)
[20080517 13:59:35] 226 Transfer complete.
[20080517 13:59:35] QUIT
[20080517 13:59:35] 221 You have transferred 598 bytes in 1 file(s).
[20080517 13:59:35] Client closed the connection.
However, beginning the 18th my log files look like this:
[20080519 16:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 17:44:30] SmartFTP FTP Library v1.5.13.6
[20080519 18:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 19:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 20:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 20:59:29] SmartFTP FTP Library v1.5.13.6
[20080519 21:14:29] SmartFTP FTP Library v1.5.13.6
[20080519 21:29:30] SmartFTP FTP Library v1.5.13.6
[20080519 21:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 21:59:29] SmartFTP FTP Library v1.5.13.6
[20080519 22:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 23:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 23:59:30] SmartFTP FTP Library v1.5.13.6
[20080520 00:44:29] SmartFTP FTP Library v1.5.13.6
[20080520 00:59:29] SmartFTP FTP Library v1.5.13.6
[20080520 01:29:28] SmartFTP FTP Library v1.5.13.6
[20080520 01:44:29] SmartFTP FTP Library v1.5.13.6
[20080520 01:59:29] SmartFTP FTP Library v1.5.13.6
[20080520 02:14:29] SmartFTP FTP Library v1.5.13.6
[20080520 02:29:29] SmartFTP FTP Library v1.5.13.6
[20080520 03:44:29] SmartFTP FTP Library v1.5.13.6
[20080520 03:59:30] SmartFTP FTP Library v1.5.13.6
No files are being transferred.