V 2007.1 Problem w/SSL Upload to Mainframe

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



V 2007.1 Problem w/SSL Upload to MainframeExpand / Collapse
Author
Message
Posted 10/8/2008 1:42:43 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/16/2008 11:55:47 AM
Posts: 6, Visits: 27
Hello again.

So I got my upload working (reference 9/18 posting), and then upgraded to WS-FTP Pro 2007.1. Now the upload will not work.  From the log, it appears to run fine until file content comparison fails, after which the transfer type changes to I (from A).  The transfer then succeeds, but the file on the MF host is unusable. Does anybody know how I can prevent this uncalled-for transfer type change?

Thanks for any help.  The log:

WINSOCK.DLL: WinSock 2.0

Ipswitch WS_FTP Professional 2007.1 - 2007.11.12

Finding Host xxxxxx.xx.xxx.xx.xx ...

Connecting to ###.###.###.##:21

Connected to ###.###.###.##:21 in 0.000000 seconds, Waiting for Server Response

220-FTPD1 IBM FTP CS V1R7 at JES2P1.xx.xxxx.xx.xx, 16:30:59 on 2008-10-08.

220 Connection will close if idle for more than 1 minutes, 45 seconds.

Host type (1): IBM MVS

USER xxxxxxx

331 Send password please.

PASS (hidden)

230 xxxxxxx is logged on.  Working directory is "xxxxxxx.".

Host type (I): IBM MVS

PWD

257 "'xxxxxxx.'" is working directory.

SITE RECFM=FB

200 SITE command was accepted

 SITE LRECL=723

200-BLOCKSIZE must be a multiple of LRECL for RECFM FB

200-BLOCKSIZE being set to 5784

200 SITE command was accepted

 SITE UNIT=WORK

200 SITE command was accepted

 SITE CY PRI=10

200 SITE command was accepted

TYPE A

200 Representation type is Ascii NonPrint

CWD 'PW.MZ.T'

250 "PW.MZ.T." is the working directory name prefix.

CDUP

250 "PW.MZ." is the working directory name prefix.

CDUP

250 "PW." is the working directory name prefix.

CDUP

250 "" is the working directory name prefix.

CDUP

501 Directory is already NULL

CWD 'PW.MZ.T.TCM.WCHDS'

250 "PW.MZ.T.TCM.WCHDS." is the working directory name prefix.

PWD

257 "'PW.MZ.T.TCM.WCHDS.'" is working directory.

TYPE A

200 Representation type is Ascii NonPrint

PASV

227 Entering Passive Mode (###.###.###.##,13,234)

connecting data channel to ###.###.###.##:13,234(3562)

data channel connected to ###.###.###.##:13,234(3562)

LIST

125 List started OK

# transferred 260 bytes in < 0.001 seconds, 2080.000 kbps ( 260.000 kBps), transfer succeeded.

250 List completed successfully.

Starting file content comparison (C:\WIC_EOD\Work\ftp\out\t837p.inp, PW.MZ.T.TCM.WCHDS.CLMS)

XMD5 "PW.MZ.T.TCM.WCHDS.CLMS"

500 unknown command XMD5

XSHA1 "PW.MZ.T.TCM.WCHDS.CLMS"

500 unknown command XSHA1

XCRC "PW.MZ.T.TCM.WCHDS.CLMS"

500 unknown command XCRC

File content comparison failed

Sending "REST" command to determine if the server supports restarts.

REST 1024

504 Restart requires Block or Compressed transfer mode.

This server does not appear to support restarts.

 -- Resuming of interrupted transfers disabled.

 -- Multipart downloads disabled.

Finished checking for "REST" command support.

TYPE I

200 Representation type is Image

PASV

227 Entering Passive Mode (###.###.###.##,13,235)

connecting data channel to ###.###.###.##:13,235(3563)

data channel connected to ###.###.###.##:13,235(3563)

STOR CLMS

125 Storing data set PW.MZ.T.TCM.WCHDS.CLMS

250 Transfer completed successfully.

# transferred 298599 bytes in 0.203 seconds, 11760.207 kbps ( 1470.026 kBps), transfer succeeded.

Transfer request completed with status: Finished
QUIT

221 Quit command received. Goodbye.

Connection closed.  Ready for next connection.



Greg
Post #47607
Posted 10/9/2008 7:38:00 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/16/2008 11:55:47 AM
Posts: 6, Visits: 27
When all else fails read the instructions.  This does not make any sense to me but it happened.

I have been attempting to change the destination of an FTP PUT from an AIX to a mainframe file system, using WS_FTP Pro configured sites, from the command line in a batch file written:

wsftppro -m FTPFILE.txt

in FTPFILE.txt was:

-s local:C:\File_dir\File_dir\etc\t999t.inp -d SiteFolder!SiteName:AA.BB.T.SOME.BILLING.CLMS

When I was using WS_FTP Pro 2007.0.0.0, fully configured using site manager (with TYPE A among the commands in Startup/Initialize, and the ASCII radio button checked in the Startup transfer mode), the upload was successful.

When I was using WS_FTP Pro 20007.1, it was not — well, it FTPd the file, but in image mode, which made it unusable on the host — even though it was configured exactly the same in site manager in both versions (I'm sure, used another machine still running 2007.0 for comparison).

I was having a real time with this, nothing would work, and then I read the command line arguments portion of help, which says to put -ascii at the end of your command line if you want to transfer in ascii mode.  So I did, and it worked.  The new FTPFILE.txt is now:

-s local:C:\File_dir\File_dir\etc\t999t.inp -d SiteFolder!SiteName:AA.BB.T.SOME.BILLING.CLMS  -ascii

Documentation in WS_FTP Pro 2007.0.0.0 has instructions to use the same argument for text file transfers, but for whatever reason it is not necessary to use it in the earlier version, while it is absolutely necessary to use it in 2007.1.  Puzzling, but true.

Hoping this can help somebody else,

Greg

Post #47675
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, LDW, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm, Travis G.

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 3:54pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.109. 9 queries. Compression Enabled.