|
I used an FTP script some time ago to automate an application interface; I also used SEU to edit the original text; I recall having the same kind of problem with the line number and date fields (SRCSEQ and SRCDAT). I feel sure I overcame the problem by using CRTPF to create a file named SRCDTA, record length = 80, then used CPYF FMTOPT(*MAP *DROP) to put the data into a straight data file - it worked a treat as I recall. Jeff Bull -----Original Message----- From: rob@dekko.com [mailto:rob@dekko.com] Sent: 22 July 2002 14:39 To: midrange-l@midrange.com Subject: Re: Problem with FTP script file This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] Did you check out: http://faq.midrange.com/data/cache/67.html Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "York, Albert" <albert.york@nissan-usa.com> Sent by: midrange-l-admin@midrange.com 07/19/2002 03:29 PM Please respond to midrange-l To: "'MIDRANGE-L@midrange.com'" <MIDRANGE-L@midrange.com> cc: Fax to: Subject: Problem with FTP script file I am having a problem with an FTP script file. For simplicity, I am using a source file (QFTPSRC) so I can use PDM to edit the script. When I try to use the script, FTP can read it okay but I get an error after every line, which prevents the server from correctly reading the password. Any help is appreciated. I don't get the error if I enter the commands manually. Here is the output file: Output redirected to a file. Input read from specified override file. Connecting to host FTPSVR1 at address 10.70.0.83 using port 21. 220 FTP server (Hummingbird Communications Ltd. (HCLFTPD) Version 5.1) Enter login ID (yorka): 331 Password required for yorka '': command not understood. Enter an FTP subcommand. Albert York AS/400 Technical Support IBM Global Services Phone: 310.771.6288 Email: Albert.York@Nissan-USA.COM <mailto:Albert.York@Nissan-USA.COM> Pager: 800:946-4646 PIN 1438465 _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ DISCLAIMER Any opinions expressed in this email are those of the individual and not necessarily the Company. This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the Company, are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. If you have received this email in error please notify the IT manager by telephone on +44 (0)870 871 2233 or via email to Administrator@itm-group.co.uk, including a copy of this message. Please then delete this email and destroy any copies of it. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.