firstname.lastname@example.org wrote: >> Can anyone think of something that may have changed with V5R1 that would >> cause almost random FTP failures? Changing from V4R5 to V5R1 is the >> only thing different, so I'm presuming that is the first place to look. email@example.com wrote: > You COULD create an exe on the PC that runs the script > with output redirected to a .txt, then scan the file for > return codes. > > ftp host -s:script > output.txt I did this and finally got a failure. The FTP log has this: FTP - File Transfer Program 2.09 (960320) Copyright (c) 1995-1996 Network TeleSystems, Inc. All rights reserved. Connected to as400.dilgard.com FROM HOST: 220-QTCP at DILGARD. FROM HOST: 220 Connection will close if idle more than 5 minutes. FROM HOST: 331 Enter password. FROM HOST: 230 SPSORDERS logged on. FTP>cd /sps FROM HOST: 250-NAMEFMT set to 1. FROM HOST: 250 "/sps" is current directory. FTP>cd download FROM HOST: 250 "/sps/download" is current directory. FTP>delete total.dat FROM HOST: 250 Deleted file /sps/download/total.dat FTP>cd /sps FROM HOST: 250 "/sps" is current directory. FTP>cd upload FROM HOST: 250 "/sps/upload" is current directory. FTP>prompt off Prompting for mget, mput and mdelete is off FTP>put torder.dat 504 Privileged port not allowed on PORT subcommand. Could not open data connection to remote host (Connection refused) FTP>quote rcmd SBMJOB CMD(SPS800) JOB(SPS800) JOBQ(QCTL) 250 Command SBMJOB CMD(SPS800) JOB(SPS800) JOBQ(QCTL) successful. FTP>bye 221 QUIT subcommand received. Note the "504 Privileged port not allowed on PORT subcommand." Is this something that entering passive mode at the PC would fix? Is that a SENDPASV command? This problem only started when I loaded V5R1. Thanks. -- Jeff Crosby Dilgard Frozen Foods, Inc. P.O. Box 13369 Ft. Wayne, IN 46868-3369 260-422-7531 The opinions expressed are my own and not necessarily the opinion of my company. Unless I say so.
This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact