|
This is a batch file (.bat) that executes a ftp The ftp uses a pc .txt file to contain the ftp id & pwd & ftp commandsFTP exit pgm on iSeries only accepts this logon from this server & ftp user id cannot signon anywhere. Other exit points block this id. You could have a vb pgm update the text file with user & pwd, then remove when complete.
Batch file rem test to make sure file ready to xfer if exist C:\SCI\pxmit.txt goto :UPLOAD ECHO ******************************************************** ECHO pxmit.txt file not found. ECHO ********************************************************* GOTO :END :UPLOAD ECHO *********************** ECHO Send file to AS/400 ECHO *********************** rem ftp to as/400 c:\windows\system32\ftp.exe -n -d -s:C:\sci\HomeFtp.txt :END *************************************** HomeFTP.txt open 66.0.000.000 user FTUSER <<<put the User Id here FTPPWD <<<put the pwd here cd FILLIB <<<library to put file into quote pasv put C:\SCI\PXMIT.TXT HOMEBU (REPLACE quote rcmd CALL PROCESS quit hth jim franz----- Original Message ----- From: "John Candidi" <jacandidi@xxxxxxxxxxxxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx> Sent: Wednesday, November 15, 2006 11:45 AM Subject: Bypassing or passing signon info
Is there a way to bypass the user-id and PW screen you get when doing a Datatransfer(DTF) using CA. We want to schedule an transfer using the windowsscheduler to run the DTF's then FTP the files to another system? Does anyoneknow if this attainable? John A Candidi Rutgers Insurance Companies IT Director - Iseries Manager 856-779-2274
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.