Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Issue Downloading files from BofA
haagen_daz

From: Burnsville, MN USA
Posts: 13
Member Since: 07/06/05
posted January 3, 2008 12:13 PM

I am unable to pull files down from Bank of America...any ideas why?

Here is my trace:

Sent: CWD /PACSUNSO/

Recv: 250 CWD command successful.

Sent: PORT 204,181,247,49,5,8

Recv: 200 PORT command successful.

Sent: LIST PGP *

Recv: 150 Opening ASCII mode data connection for PGP *.

Recv: 226 Transfer complete.

Sent: SIZE -AR-------TCP A ceunix   79556   708 Jan 03 04:54 PGP EWG OUTBNR CAFSEWG

Recv: 550 Operation is not supported under Connect:Enterprise FTP server.

Sent: PORT 204,181,247,49,5,10

Recv: 200 PORT command successful.

Sent: RETR -AR-------TCP A ceunix   79556   708 Jan 03 04:54 PGP EWG OUTBNR CAFSEWG

Recv: 550 *** ERROR *** NO BATCHES FOR TRANSMISSION
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 3, 2008 12:24 PM

Do you have a program, like WSFTP, that you normally use to do this transfer? If so, they usually provide tracing capabilities. I'd like to see a trace from that if possible.
haagen_daz

From: Burnsville, MN USA
Posts: 13
Member Since: 07/06/05
posted January 3, 2008 12:41 PM

Thanx for the quick response!

yes, i use FileZilla...here is the trace:

Status: Connecting to ELINK-FTP4.BANKOFAMERICA.COM ...
Trace: FtpControlSocket.cpp(1001): OnConnect(0) OpMode=1 OpState=-1  caller=0x003eab94
Status: Connected with ELINK-FTP4.BANKOFAMERICA.COM. Waiting for welcome message...
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-1  caller=0x003eab94
Response: 220 txdmz09 FTP proxy (Version V2.1) ready.
Command: USER PACSUNSO
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=0  caller=0x003eab94
Response: 331-(----GATEWAY CONNECTED TO 171.177.210.13----)
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=0  caller=0x003eab94
Response: 331-(220 <<<Connect:Enterprise UNIX 2.2.00 Secure FTP>>> at tx2pdts01 FTP server ready. Time = 11:34:39)
Response: 331 Password required for PACSUNSO.
Command: PASS ********
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=3  caller=0x003eab94
Response: 230 Connect:Enterprise UNIX login ok, access restrictions apply.
Command: SYST
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-14  caller=0x003eab94
Response: 215 UNIX Type: L8
Command: FEAT
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-13  caller=0x003eab94
Response: 500 command not understood
Status: Connected
Trace: FtpControlSocket.cpp(3986): ResetOperation(1) OpMode=1 OpState=-13  caller=0x003eab94
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",1) OpMode=0 OpState=-1  caller=0x003eab94
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=0  caller=0x003eab94
Response: 257 "/PACSUNSO" is current directory.
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=0  caller=0x003eab94
Command: TYPE A
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=8  caller=0x003eab94
Response: 200 Type set to A.
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=8  caller=0x003eab94
Command: PASV
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=7  caller=0x003eab94
Response: 227 Entering Passive Mode (171,161,160,119,231,96)
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=7  caller=0x003eab94
Trace: TransferSocket.cpp(558): SetActive()  caller=0x00b68c64
Command: LIST
Trace: TransferSocket.cpp(446): OnConnect(0)  caller=0x00b68c64
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=9  caller=0x003eab94
Response: 150 Opening ASCII mode data connection for .
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=9  caller=0x003eab94
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=10  caller=0x003eab94
Response: 226 Transfer complete.
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=10  caller=0x003eab94
Trace: TransferSocket.cpp(518): OnClose(0)  caller=0x00b68c64
Trace: TransferSocket.cpp(1125): Close()  caller=0x00b68c64
Trace: TransferSocket.cpp(1125): Close()  caller=0x00b68c64
Trace: FtpControlSocket.cpp(1969): TransferEnd(4) OpMode=4 OpState=10  caller=0x003eab94
Trace: FtpControlSocket.cpp(1213): List(TRUE,0,"","",0) OpMode=4 OpState=10  caller=0x003eab94
Trace: -AR-------TCP A ceunix   79556   708 Jan 03 04:54 PGP EWG OUTBNR CAFSEWG
Trace: Total number of batches listed: 1
Trace: TransferSocket.cpp(96): ~CTransferSocket()  caller=0x00b68c64
Trace: TransferSocket.cpp(1125): Close()  caller=0x00b68c64
haagen_daz

From: Burnsville, MN USA
Posts: 13
Member Since: 07/06/05
posted January 3, 2008 12:41 PM

here is the rest of the trace from FileZilla:

Status: Directory listing successful
Trace: FtpControlSocket.cpp(3986): ResetOperation(1) OpMode=4 OpState=10  caller=0x003eab94
Trace: FtpControlSocket.cpp(2004): FileTransfer(4100712, FALSE, 0) OpMode=0 OpState=-1  caller=0x003eab94
Status: Starting download of /PACSUNSO/PGP EWG OUTBNR CAFSEWG
Command: TYPE I
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=24 OpState=13  caller=0x003eab94
Response: 200 Type set to I.
Trace: FtpControlSocket.cpp(2004): FileTransfer(0, FALSE, 0) OpMode=24 OpState=13  caller=0x003eab94
Command: PASV
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=24 OpState=17  caller=0x003eab94
Response: 227 Entering Passive Mode (171,161,160,119,231,123)
Trace: FtpControlSocket.cpp(2004): FileTransfer(0, FALSE, 0) OpMode=24 OpState=17  caller=0x003eab94
Command: RETR PGP EWG OUTBNR CAFSEWG
Trace: TransferSocket.cpp(446): OnConnect(0)  caller=0x00b68c64
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=24 OpState=18  caller=0x003eab94
Response: 150 Opening BINARY mode data connection for PGP EWG OUTBNR CAFSEWG.
Trace: FtpControlSocket.cpp(2004): FileTransfer(0, FALSE, 0) OpMode=24 OpState=18  caller=0x003eab94
Trace: TransferSocket.cpp(558): SetActive()  caller=0x00b68c64
Trace: TransferSocket.cpp(446): OnConnect(0)  caller=0x00b68c64
Trace: TransferSocket.cpp(518): OnClose(0)  caller=0x00b68c64
Trace: TransferSocket.cpp(1125): Close()  caller=0x00b68c64
Trace: TransferSocket.cpp(1125): Close()  caller=0x00b68c64
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=24 OpState=19  caller=0x003eab94
Response: 226 Transfer complete.
Trace: FtpControlSocket.cpp(1969): TransferEnd(24) OpMode=24 OpState=19  caller=0x003eab94
Trace: FtpControlSocket.cpp(2004): FileTransfer(0, TRUE, 0) OpMode=24 OpState=19  caller=0x003eab94
Trace: TransferSocket.cpp(96): ~CTransferSocket()  caller=0x00b68c64
Trace: TransferSocket.cpp(1125): Close()  caller=0x00b68c64
Trace: FtpControlSocket.cpp(2004): FileTransfer(0, FALSE, 0) OpMode=24 OpState=19  caller=0x003eab94
Trace: FtpControlSocket.cpp(3986): ResetOperation(1) OpMode=24 OpState=19  caller=0x003eab94
Status: Download successful
Trace: FtpControlSocket.cpp(1140): DoClose(0) OpMode=1024 OpState=-1  caller=0x003eab94
Trace: FtpControlSocket.cpp(3986): ResetOperation(4100) OpMode=1024 OpState=-1  caller=0x003eab94
Status: Disconnected from server
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 3, 2008 12:49 PM

Check out what the good log has for the RETR command:

RETR PGP EWG OUTBNR CAFSEWG

What are you specifying for the file name when you call our Get method?

haagen_daz

From: Burnsville, MN USA
Posts: 13
Member Since: 07/06/05
posted January 3, 2008 12:54 PM

i have tried this:

SecureFtp1.Retrieve "PGP EWG OUTBNR CAFSEWG", "C:\PGP EWG OUTBNR CAFSEWG", 0

And also this:

SecureFtp1.Retrieve "-ART------TCP A ceunix   79556   708 Jan 03 04:54 PGP EWG OUTBNR CAFSEWG", "C:\PGP EWG OUTBNR CAFSEWG", 0
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 3, 2008 12:58 PM

"PGP EWG OUTBNR CAFSEWG" would be correct

What happens if you set SecureFtp1.Passive to true? That's what FileZilla is doing.
haagen_daz

From: Burnsville, MN USA
Posts: 13
Member Since: 07/06/05
posted January 3, 2008 1:02 PM

exact same result/error
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 3, 2008 1:10 PM

Is it possible to obtain a test account for me? If I can get it to work with WSFTP, I can get it to work with our component. If you can get a test account, email info to support@dart.com.

Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX