|
That worked well, thanks.My dos is a little rusty though, how do I get the ftp command to accept commands after it's launched?
Regards, Guy Henza 616 N Michigan Ave Howell MI 48843 517.548.3563 guyhenza@xxxxxxxxxxx
------------------------------ date: Mon, 12 Jun 2006 15:34:57 -0500 from: "Lapeyre, Francis" <FLAPEYRE@xxxxxxxx> subject: RE: FTP from AS/400 to PC Not directly, but you can write a script on the PC and have the AS/400 execute it for you. PGM DCL VAR(&CALL) TYPE(*CHAR) LEN(123) VALUE(' ') DCL VAR(&PATH) TYPE(*CHAR) LEN(80) VALUE('c:\transfer.bat') STRPCO PCTA(*NO) MONMSG MSGID(IWS4010) CHGVAR VAR(&CALL) VALUE('start' *BCAT &PATH) STRPCCMD PCCMD(&CALL) PAUSE(*NO) MONMSG MSGID(CPF0000) ENDPGM You can run any PC program you want from an AS/400 session that way. Francis Lapeyre IS Dept. Programmer/Analyst Stewart Enterprises, Inc. E-mail: flapeyre@xxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.