|
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
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.