Do not put in the USER or PASSWORD key words. Just put in the valid user id on a line by itself. Same with password. As in your example, you only typed in what was after the prompt, not the prompt. Christopher K. Bipes mailto:ChrisB@Cross-Check.com Operations & Network Mgr mailto:Chris_Bipes@Yahoo.com CrossCheck, Inc. http://www.cross-check.com 6119 State Farm Drive Phone: 707 586-0551 x 1102 Rohnert Park CA 94928 Fax: 707 586-1884 -----Original Message----- From: Angela Wawrzaszek [mailto:firstname.lastname@example.org] Sent: Friday, January 11, 2002 10:20 AM To: 'email@example.com' Subject: RE: FTP to a port number on a computer I have tried both methods as far as entering in the user and password. I have many .bat files that do ftp and many ftp input files that contain script to do it with db2 files. My problem seems to be becuase of the port#. I can do it all manually from a DOS command now, I have the correct syntax for the port#. However when I put it in script i get invalid user. I am not sure on the examples on FAQ and even from other users on the list you put the word 'user' before the user and password. This did nothing put cause more errors as it thought i was trying to logon as 'user' and was then sending 2 parms. Running manually from a DOS command: C:\>ftp ftp> open 192.168.0.245 20 Connected to 192.168.0.245. 220 ntsvr03-nt Microsoft FTP Service (Version 4.0). User (192.168.0.245:(none)): angie 331 Password required for angie. Password:
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.