Hi, Paul:

You may want to consider creating a save file and using the SAV command to save the directory and all its subdirectories and files, then use FTP to send the save file, then use the RST command to restore the entire directory subtree on the other system. This has the advantage of also preserving many attributes of the stream files, such as their object owners, etc.

HTH,

Mark

> Paul Jackson wrote:
Hello,

Can someone tell me how I can FTP an IFS directory and all of its
contents/subdirectories to the same destination on a remote system?

I have two iSeries boxes that need to have a particular directory kept
in sync when a change is made on one of the systems.

I have tried various combinations of put and mput as shown below
without success, for example I want to keep the /dir1/dir2 directory
in synch:

put /dir/dir2/* /dir/dir2/*

File not found: /dir/dir2/*

put /dir/dir2/*.* /dir/dir2/*.*

File not found: /dir/dir2/*.*


Thanks for any ideas on this one.

Paul

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.