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



I am assuming you are using the AS400 as the FTP client (meaning you are starting the FTP session from the AS400) I am also assuming the foreign server has an FTP server and you have authority to the remote directory and the FTP allows access to the remote directory

CD is the command to change the directory on the FTP (Foreign) server.
LCD is the command to change the directory on the FTP client (in this case the AS400)


If the AS400 is the client you do NOT want to use
QUOTE SITE NAMEFMT 1
you want to use
SITE NAMEFMT 1
The QUOTE sends the command to the remote server.

As a side note if you are using AS400's for client and server
NAMEFMT 1  or 0 (0 gets you back to the AS400 format)
changes both AS400's to that format

you could also use the directory in the get command.

For more see
http://www.davelozinski.com/training/ftp/
and
http://faq.midrange.com/data/cache/67.html

John Ross


Mike Skvarenina wrote:

Thanks, it worked.  Now on to the next problem.  I'm actually trying to
login to a foreign server (non iSeries), and GET a file from a directory
on the foreign server and place it into a directory on my IFS root.

With what you showed me below, I can change to my local IFS directory
but I can seem to determine how to GET a file off the foreign server and
transfer it to the IFS.  I'm guessing it's using the GET command, I just
can't seem to figure out how to reference the sub directory on the
foreign server.



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.