|
Hi Dave, We've had that issue at our shop. Try issuing a "SENDPASV" command as soon as you are signed-on to the PC. That helped us. i.e. ftp <remote address> login <userid> <password> sendpasv put... get... : : quit From: "Dave" <dprowak@ci.syracuse.ny.us> To: <MIDRANGE-L@midrange.com> Subject: FTP batch command questions Date sent: Fri, 4 Aug 2000 15:02:15 -0700 Send reply to: MIDRANGE-L@midrange.com Hi, Yes, I've reviewed the archives from this list before asking....... I'm running a batch ftp program to send some files from our AS/400 to my PC. I have a ftp server running on my PC. Here's the output: Enter an FTP subcommand. > DIR 200 Type is ASCII (No subclass parameter defined, Non-Print used as def 227 Entering Passive Mode (10,1,1,26,5,136) 150 Opening ASCII NO-PRINT mode data connection for ls -l. total 123 drwxrwxrwx 1 ftp ftp 0 Jan 1 1990 a drwxrwxrwx 1 ftp ftp 0 Jan 1 1990 c drwxrwxrwx 1 ftp ftp 0 Jan 1 1990 d 226 Transfer finished successfully. Data connection closed. 200 Type is Image (Binary) Enter an FTP subcommand. > PUT POLLIB/ATPBMUSE 227 Entering Passive Mode (10,1,1,26,5,137) 501 Permission denied. Enter an FTP subcommand. > GET ATPBMUSE 227 Entering Passive Mode (10,1,1,26,5,138) 501 Permission denied. Enter an FTP subcommand. > QUIT 221 Goodbye. Control connection closed. I get permission denied on both the PUT & GET. The POLLIB/ATPBMUSE file does exist on the AS/400, and I created a bogus file on C:\ATPBMUSE just to see if I could get this working in either direction. What could be causing this? TIA, Dave _________________________________________________________________ Doug Holmes Programmer/Analyst Ontario Universities' Application Centre P.O. Box 1328, 650 Woodlawn Road West Guelph ON, CANADA N1H 7P4 TELEPHONE: (519)823-1940, x 224 FAX: (519)823-5232 www.ouac.on.ca _________________________________________________________________ +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.