Hello ..
Post the log from the FTP client and the log from the FTP library. This will allow us to compare both logs and figure out what you do wrong in your code.
Regards,
SmartFTP
hello sorry it took me this long to understand the question... but here is the log from SmartFTp and our LOG
[11:06:12] SmartFTP v2.0.997.4
[11:06:13] Resolving host name "vwix.dhs.ca.gov"
[11:06:13] Connecting to 134.186.44.120 Port: 21
[11:06:13] Connected to vwix.dhs.ca.gov.
[11:06:13] 220-FTPSECRE IBM FTP CS V1R4 at MVSSY1.TEALE.CA.GOV, 18:06:08 on 2006-10-04.
[11:06:13] 220 Connection will not timeout.
[11:06:13] AUTH TLS
[11:06:13] 234 Security environment established - ready for negotiation
[11:06:13] Connected. Exchanging encryption keys...
[11:06:14] Session Cipher: 128 bit RC4
[11:06:14] TLS encrypted session established.
[11:06:14] PBSZ 0
[11:06:14] 200 Protection buffer size accepted
[11:06:14] USER HD02582A
[11:06:14] 331 Send password please.
[11:06:14] PASS (hidden)
[11:06:14] 230 HD02582A is logged on. Working directory is "HD02582A.".
[11:06:14] SYST
[11:06:14] 215 MVS is the operating system of this server. FTP Server is running on z/OS.
[11:06:14] Detected Server Type: MVS
[11:06:14] FEAT
[11:06:14] 211- Extensions supported
[11:06:14] SIZE
[11:06:14] AUTH TLS
[11:06:14] PBSZ
[11:06:14] PROT
[11:06:14] 211 End
[11:06:14] TYPE I
[11:06:14] 200 Representation type is Image
[11:06:14] REST 0
[11:06:14] 504 Restart not allowed with active security mechanism
[11:06:14] PWD
[11:06:14] 257 "'HD02582A.'" is working directory.
[11:06:14] CWD 'HD.WIX8140.HDVWIXP'
[11:06:14] 250 "HD.WIX8140.HDVWIXP." is the working directory name prefix.
[11:06:14] PWD
[11:06:14] 257 "'HD.WIX8140.HDVWIXP.'" is working directory.
[11:06:14] TYPE A
[11:06:14] 200 Representation type is Ascii NonPrint
[11:06:14] PROT P
[11:06:14] 200 Data connection protection set to private
[11:06:14] PASV
[11:06:14] 227 Entering Passive Mode (134,187,51,1,196,71)
[11:06:14] Opening data connection to 134.187.51.1 Port: 50247
[11:06:14] LIST
[11:06:14] Connected. Exchanging encryption keys...
[11:06:15] 125 List started OK
[11:06:15] Session Cipher: 128 bit RC4
[11:06:15] TLS encrypted session established.
[11:06:15] 127 bytes transferred. (675 bytes/s) (188 ms)
[11:06:15] 250 List completed successfully.
[11:07:05] NOOP
[11:07:05] 200 OK
[11:07:14] CWD 'HD.WIX8140.HDVWIXP'
[11:07:14] 250 "HD.WIX8140.HDVWIXP." is the working directory name prefix.
[11:07:14] PWD
[11:07:14] 257 "'HD.WIX8140.HDVWIXP.'" is working directory.
[11:07:14] Remote file exist check: "D061002.T104459.R897906".
[11:07:14] TYPE I
[11:07:14] 200 Representation type is Image
[11:07:14] SIZE D061002.T104459.R897906
[11:07:14] 550 SIZE command not supported with active security mechanism
[11:07:14] File size check (SIZE) failed. File not found or permission denied.
[11:07:14] TYPE A
[11:07:14] 200 Representation type is Ascii NonPrint
[11:07:14] PASV
[11:07:14] 227 Entering Passive Mode (134,187,51,1,196,70)
[11:07:14] Opening data connection to 134.187.51.1 Port: 50246
[11:07:14] STOR D061002.T104459.R897906
[11:07:14] Connected. Exchanging encryption keys...
[11:07:14] 125 Storing data set HD.WIX8140.HDVWIXP.D061002.T104459.R897906
[11:07:14] Session Cipher: 128 bit RC4
[11:07:14] TLS encrypted session established.
[11:07:14] 1116 bytes transferred. (4.35 KB/s) (250 ms)
[11:07:14] 250 Transfer completed successfully.
[11:07:14] Transfer successful.
[11:07:14] CWD 'HD.WIX8140.HDVWIXP'
[11:07:14] 250 "HD.WIX8140.HDVWIXP." is the working directory name prefix.
[11:07:14] PWD
[11:07:14] 257 "'HD.WIX8140.HDVWIXP.'" is working directory.
[11:07:14] PASV
[11:07:14] 227 Entering Passive Mode (134,187,51,1,196,105)
[11:07:14] Opening data connection to 134.187.51.1 Port: 50281
[11:07:14] LIST
[11:07:14] Connected. Exchanging encryption keys...
[11:07:14] 125 List started OK
[11:07:15] Session Cipher: 128 bit RC4
[11:07:15] TLS encrypted session established.
[11:07:15] 208 bytes transferred. (1.08 KB/s) (187 ms)
[11:07:15] 250 List completed successfully.
************************and here is our LOG************************************************
**********************************************************************************************************************************************************************************
[20061004 17:58:39] SmartFTP FTP Library v1.5.8.30
[20061004 17:58:39] Resolving host name "vwix.dhs.ca.gov"
[20061004 17:58:39] Connecting to 134.186.44.120 Port: 21
[20061004 17:58:39] Connected to vwix.dhs.ca.gov.
[20061004 17:58:39] 220-FTPSECRE IBM FTP CS V1R4 at MVSSY1.TEALE.CA.GOV, 17:58:35 on 2006-10-04.
[20061004 17:58:40] 220 Connection will not timeout.
[20061004 17:58:40] AUTH TLS
[20061004 17:58:40] 234 Security environment established - ready for negotiation
[20061004 17:58:40] Connected. Exchanging encryption keys...
[20061004 17:58:40] Session Cipher: 128 bit RC4
[20061004 17:58:40] TLS encrypted session established.
[20061004 17:58:40] PBSZ 0
[20061004 17:58:40] 200 Protection buffer size accepted
[20061004 17:58:40] USER ****
[20061004 17:58:41] 331 Send password please.
[20061004 17:58:41] PASS ****
[20061004 17:58:41] 230 HD02680A is logged on. Working directory is "HD02680A.".
[20061004 17:58:41] SYST
[20061004 17:58:41] 215 MVS is the operating system of this server. FTP Server is running on z/OS.
[20061004 17:58:41] Detected Server Type: MVS
[20061004 17:58:41] FEAT
[20061004 17:58:41] 211- Extensions supported
[20061004 17:58:41] SIZE
[20061004 17:58:41] AUTH TLS
[20061004 17:58:41] PBSZ
[20061004 17:58:41] PROT
[20061004 17:58:41] 211 End
[20061004 17:58:41] TYPE I
[20061004 17:58:41] 200 Representation type is Image
[20061004 17:58:41] REST 0
[20061004 17:58:41] 504 Restart not allowed with active security mechanism
[20061004 17:58:41] PWD
[20061004 17:58:41] 257 "'HD02680A.'" is working directory.
[20061004 17:58:41] SITE LRECL=11 BLOCKSIZE=4400 RECFM=FB
[20061004 17:58:41] 200 SITE command was accepted
[20061004 17:58:41] CWD 'HD.WIX8140.HDVWIXP.'
[20061004 17:58:41] 250 "HD.WIX8140.HDVWIXP." is the working directory name prefix.
[20061004 17:58:41] PWD
[20061004 17:58:41] 257 "'HD.WIX8140.HDVWIXP.'" is working directory.
[20061004 17:58:41] TYPE A
[20061004 17:58:41] 200 Representation type is Ascii NonPrint
[20061004 17:58:41] PROT P
[20061004 17:58:41] 200 Data connection protection set to private
[20061004 17:58:41] PASV
[20061004 17:58:41] 227 Entering Passive Mode (134,187,51,1,196,202)
[20061004 17:58:41] Opening data connection to 134.186.44.120 Port: 50378
[20061004 17:58:41] STOR 'd06104.t105841.r4044142'
[20061004 17:59:02] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
[20061004 17:59:32] Timeout (30s).
[20061004 17:59:32] 3
[20061004 17:59:32] Client closed the connection.