Originally posted by: Staar
I encountered a strange problem yesterday. I was using the ftp adapter to get a directory listing, it returned the file found but still failed. I used a PUT statement and just received the generic error (30). It is part of an automated process that has been running fine for a couple weeks. The trace reports at the end that it could not delete a file, but all it was doing was trying to get a directory listing. Is it talking about a temp file of some kind that was created during the process? Below is the trace. When I changed the address to ftp.domain.com instead of
www.domain.com all the lines associated with Windows Socket/SSL disappeared. In the past I was told that dstx looks at the protocol used in the URL (ftp:// or ftps://) to determine how to connect and wether to use SSL. That must not be the case. Can anyone shed some light on what the problem may have been and how I can avoid it? Some info on how the adapter decides which connection method to use would be great as well. Thanks in advance...
Mike
FTP Adapter, Version 8.0(105)
Copyright © 2004, Ascential Software Corporation. All rights reserved
Built for WIN32 - INTEL on Jan 31 2006 at 17:49:13.
Microsoft (R) C Runtime Library is
Copyright (C) Microsoft Corp. 1981-1999.
Using C:\WINNT\system32\MSVCRT.dll (Version 6.10.9359.0) for Visual C++ runtime.
Retry Count is 0. Retry Interval is 0. OnFailure is Rollback.
Fetch Unit is 0. Card Mode is Integral.
Run Started at 16:30:01.198 on 02/26/07.
Options used: trace,verbose,name,sys,pasv,url
URL ftp://username:*****@www.domain.com/;type=D1 will be used.
WSAStart: Entering WSAStart: bWSStarted = 0, nWSClients = 0 WSAStart: Attempting WinSock initialization. WSAStart: WinSock initialized successfully. Windows Sockets Version 1.1 will be used.
Windows Sockets Version 2.2 is supported.
Windows Socket Description is 'WinSock 2.0'.
Windows Socket System Status is 'Running'.
Windows Socket supports up to 32767 socket(s).
Windows Socket supports UDP datagram of up to 65467 bytes.
Windows Socket has no additional vendor-specific information.
WSAStart: SSL library load succeeded. Sockets Client ID 1 enabled.
WSAStart: Exiting (rc = 1) URL user: 'username'.
URL pass: '*******'.
URL host: 'www.domain.com'.
URL port: '21'.
URL path: ''.
URL type: 'D1'.
Using ftp: protocol.
Server host is 'www.domain.com'.
Hostname: 'domain.com'.
Alias #1: 'www.domain.com'.
Address #1: 11.222.333.444.
Using port '21' for the connection.
Connecting to 'www.domain.com'.
Checking user port 21.
Service: 'ftp'.
Port: 21.
Protocol: 'tcp'.
Socket Opened.
Connected.
>220 gtlweb01 Microsoft FTP Service (Version 5.0). (S)
<USER username
>331 Password required for username. (S)
<PASS
>230 User username logged in. (S)
Setting DOS/WIN-specific parameters.
<PWD
>257 "/directoryname" is current directory. (S)
Using C:\DOCUME~1\es_admin.GTL\LOCALS~1\Temp\927D.tmp as tempfile.
<TYPE A
>200 Type set to A. (S)
<PASV
>227 Entering Passive Mode (67,133,154,135,18,157). (S)
Using port '4765' for the connection.
Connecting to '67.133.154.135'.
Socket Opened.
Connected.
<NLST
>125 Data connection already open; Transfer starting. (S)
>NBS_0000001_20070226_01.txt
Socket Closed.
Connection closed.
>226 Transfer complete. (S)
Rollback specified; returning to map engine.
Read 29 bytes from .
Cleanup call from prior Rollback; re-initializing instance storage.
Map return is 30.
Map execution failed with 30, files not deleted.
Data in C:\DOCUME~1\es_admin.GTL\LOCALS~1\Temp\927D.tmp deleted.
Run Terminated at 16:30:01.541 on 02/26/07.
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender