If you use a product like FileZill and just drag the directory, it will
create all the subdirs/etc as well.

But, I'm guessing this is a scripting thing where that's not an option.
You'd need to do a little programming otherwise. Then, on top of that, you
have to worry about authorities on those new dirs/files.

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Paul Jackson
Sent: Wednesday, September 12, 2007 6:30 PM
To: Midrange Systems Technical Discussion
Subject: Re: How to FTP an IFS directory


Hi Chris unfortunately I'm still getting a
"File not found: /home/tspgmr10/*" message when I do a "mput
/home/tspgmr10/* /home/tspgmr10/* "

/home/tspgmr10 exists on both systems already.

Hmmmm


On 9/12/07, Chris Bipes <chris.bipes@xxxxxxxxxxxxxxx> wrote:
You must create the directory first.
MD /dir
MD /dir/dir2

Once the directories exist, the Put's will work.

Chris Bipes
Director of Information Services
CrossCheck, Inc.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Jackson
Sent: Wednesday, September 12, 2007 3:47 PM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: How to FTP an IFS directory

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.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.