× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: FTP batch command questions
  • From: "Doug Holmes" <doug@xxxxxxxxxxxxxxxxxx>
  • Date: Tue, 8 Aug 2000 16:28:00 -0400
  • Organization: OUAC

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&nbsp; 
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&nbsp; 
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.