Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

FTP in batch says unable to send data to TCP/IP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • FTP in batch says unable to send data to TCP/IP

    We need to transfer a few save files from a 620 to 170 every day. One of them is a large file >2Gig. FTP is working fine in interactive mode. In batch mode it gives these message (in OUTPUT) and we are unable to figure out what's going on. Please help. > GET /QSYS.LIB/QGPL.LIB/A4LDATA.SAVF /QSYS.LIB/QGPL.LIB/A4LDATA.SAVF 227 Entering Passive Mode (150,50,40,71,20,72). 150 Retrieving member A4LDATA in file A4LDATA in library QGPL. 426-Unable to send data to TCP/IP. 426 Data transfer ended. 226 ABOR subcommand received; no transfer in progress. Enter an FTP subcommand.

  • #2
    FTP in batch says unable to send data to TCP/IP

    Siva, Try adding the FTP subcommand SENDPA to your script before you do your GET. This will cause FTP to not enter passive mode for the transfer. This might make a difference. Hope this helps. Mark Phippard SoftLanding Systems

    Comment

    Working...
    X