October 07, 2016
How to Make a Windows to 3000 FTP Move
I need to move a file to our 3000 from a Windows server with FTP and Windows doing the put. The Windows file has longish variable length records, but I would like them converted to fixed length on the 3000. When I tried, this was the result:
PUT C:\Dev\MViewFTP\transdata\AP_HEADER_GW.CSV LMAPGW.IVD;rec=-1024,1,f,ascii,disc=1000;move
200 PORT command ok.
550 The FILE EQUATION STRING option (item# 52) is not in a valid file equation form. (FILE OPEN ERROR -449)
Keven Miller replies
Item #52 refers to HPFOPEN. From the intrinsic manual
52 File equation string:
Passes a character string that matches the file equation specification syntax exactly. (Refer to the FILE command in the MPE/iX Command Reference Manual.) This option allows the specification of options available in the FILE command.
I don't like the trailing ";move" in your command string. I'd remove that. Also, you have comma after "ascii" and it should be a semicolon, like this
Tony Summers adds
I'm pretty sure ";MOVE" is only valid if you're using the HP 3000 FTP client. Have a look at page 20 of the link below at TeamNA Consulting, another place where the MPE and HP 3000 manuals live
If you need to move the file during the FTP transfer, maybe you need to use "RENAME".
Use our search engine to find 20 years
of HP 3000 news and articles
The comments to this entry are closed.