Bill..In your FTP client script, use the locsite na 1 command to
change the naming format.

On Thu, Jan 15, 2009 at 11:47 AM,
<William.Epperson@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I know that you can MGET several files at the same time by turning the PROMPT'ing feature off by using the word PROMPT during and FTP session. I just
tested this and it doesn't look like it's possible to do within the i. I'm not sure how this would work for the i, but it's always worked for me when
I was working primarily on the unix side but I don't know how to do a Massive GET from the i. Anyone?
**************************************************************************************************************

On another side of this equation. I'm trying to put two files to an offsite location using the IFS as my storage location.

I have already converted the files that I need to send into text files and saved them using a daily scheduled job. There is a folder in root that I
created for the purpose of storing these two text files. I am trying to schedule a daily process to ftp these two *.TXT files up to a server on the
other side. I am connecting successfully to the ftp server, but I'm getting the following error:

File name format not valid. Use the format: library/file.member or file.member.

PUT '/FOLDER/FILENAME.TXT'
or
....
LCD /FOLDER
PUT FILENAME.TXT
...
Both give me the same error in my ftp output. How do I ftp something from IFS? I can add the ASCII portion to force the transmission in ASCII, and
that worked, but it's still griping about the naming convention.

Thank you,
Bill Epperson Jr.
Systems Communications Analyst
Memorial Health System
(719) 365-8831





rob@xxxxxxxxx

Sent by: midrange-l-bounces@xxxxxxxxxxxx To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc
01/15/2009 06:40 AM
Subject
Re: MGET
Please respond to
Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>







I tend to agree with the others. You must be doing something wrong. :-)
Meaning, if you "think" it's all going to the same spot then maybe you're
not in the directory (or library) you thought you were. For example if
your ftp script looks like
open rmtlocation
user ...
locsite namefmt 1
lcd /home/daveo
cd ...
mget ...
quit
WRKLNK '/home/daveo/*'
8=Display attributes
verify "Data change date/time"

Now, some remote systems may be a challenge. Take this directory listing
for example:
abcde.txT
abcde.tXt
abcde.Txt
abcdE.txt
abcDe.txt
abCde.txt
aBcde.txt
Where did I see that? On an i of course. If you run into that then you
had better be trying to mget into a subdirectory underneath /QOpenSys to
support mixed case.

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From:
"Dave Odom" <Dave.Odom@xxxxxxxxxxxx>
To:
<midrange-l@xxxxxxxxxxxx>
Date:
01/14/2009 06:37 PM
Subject:
MGET
Sent by:
midrange-l-bounces@xxxxxxxxxxxx



Gang,

I'm trying to use MGET to mass move several files from a non-i platform
(probably a PC server or a *ix box) to the i into the IFS portion that
looks like Windoz or *ix. I can do it one at a time but when I try to do
MGET, to move all files on the source to the target, I get the impression
from watching the action the "getting" is being done for each file on the
source but the i is trying to put all the files in the same file on the
target (the i). Or does MGET only work like I want on the i?

Thanks,

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


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

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.