|
PWD is Print Working Directory. You want a PASS command. Try USER DOMAIN\USER PASS password -Walden ------------ Walden H Leverich III President Tech Software (516) 627-3800 x11 (208) 692-3308 eFax WaldenL@TechSoftInc.com http://www.TechSoftInc.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) -----Original Message----- From: Christopher Cook [mailto:ccook@mail.choicesol.com] Sent: Tuesday, May 21, 2002 11:19 To: midrange-l@midrange.com Subject: RE: Batch FTP to Win2000 server using active directories Yes I tried seperate lines for each. I also tried specifing USER and PWD, on the same line and on seperate lines. ---------- Original Message ---------------------------------- From: "Wills, Mike N. (TC)" <MNWills@taylorcorp.com> Reply-To: midrange-l@midrange.com Date: Tue, 21 May 2002 09:39:13 -0500 >Have you tried separate lines for the PW and the user? > >-----Original Message----- >From: Christopher Cook [mailto:ccook@mail.choicesol.com] >Sent: Tuesday, May 21, 2002 9:15 AM >To: midrange-l@midrange.com >Subject: Batch FTP to Win2000 server using active directories > > > >I am trying to use a batch FTP from the AS400 to a Win2000 FTP server >that is using active directories. The PF I am using for my input looks >like >this: > >DOMAIN\USER PASSWORD >ASCII >PUT as400lib/file /dir/file.txt > >When I use this same format to a different server, without the DOMAIN >it works fine. The problem is that the new FTP server requires the >DOMAIN and when I pass it along with the user, the FTP server never >receives the password and it errors, like below. > >Output redirected to a file. >Input read from specified override file. >Connecting to host Servername.Domain.com at address xxx.xxx.xxx.xxx >using port xx. 220 Servername Microsoft FTP Service (Version 5.0). >Enter login ID (default): >331 Password required for DOMAIN\USER. >530 User DOMAIN\USER cannot log in. >Enter an FTP subcommand. >> ASCII >530 Please login with USER and PASS. >Enter an FTP subcommand. >> PUT AS400lib/file /dir/file.txt >You must first issue the USER subcommand. >Enter an FTP subcommand. >"< QUIT > >When I log in manually I have no problem using the domain\user format, >it is only the batch FTP that is giving me the problem. I have not >found any documentation on how to handle this. Has anyone else >encountered and solved this problem? If so could you share the >solution, please? > >Chris Cook >ccook@choicesol.com > > >_______________________________________________ >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 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.
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.