|
Let me get this straight, are you trying to find out if one is allowed to
do what I sent you earlier, in which my example had the names different?
ftp> get /qsys.lib/rob.lib/qpgmsrc.file/a.mbr \users\rob\myfile.txt
200 PORT subcommand request successful.
150 Retrieving member A in file QPGMSRC in library ROB.
226 File transfer completed successfully.
ftp: 8154 bytes received in 0.00Seconds 8154.00Kbytes/sec.
ftp> put \users\rob\myfile.txt /qsys.lib/rob.lib/qpgmsrc.file/a.mbr
200 PORT subcommand request successful.
150 Sending file to member ANEWMBR in file QPGMSRC in library ROB.
226 File transfer completed successfully.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Rishi Seth
Sent: Tuesday, October 8, 2019 4:22 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: how to ftp a text file from desktop to as400
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.
is it mandatory the file(dec64.txt) which i am trying to transfer from
desktop or from y drive to rishi(lib)/rs1(srcfile) in c1 member both should
have same name either c1 or dec64?
On Tue, Oct 8, 2019 at 10:19 PM Rishi Seth <rishiseth99@xxxxxxxxx> wrote:
ftp> quote site namefmt 1midrange-l@xxxxxxxxxxxxxxxxxx>
250 NOW USING NAMING FORMAT "1".
ftp> ascii
200 REPRESENTATION TYPE IS ASCII NONPRINT.
ftp> put y:/dec64.txt/qsys.lib/rishi.lib/rs1.file/c1.mbr
y:/dec64.txt/qsys.lib/rishi.lib/rs1.file/c1.mbr: File not foundHi,
On Tue, Oct 8, 2019 at 9:36 PM Rob Berendt <rob@xxxxxxxxx> wrote:
Change this:
ftp> get /qsys.lib/rishi.lib/rs1.file/embsqltxt y:/embsql.txt
to:
ftp> get /qsys.lib/rishi.lib/rs1.file/embsql.mbr y:/embsql.txt
Let me give you further details. Try this:
WRKLNK '/QSYS.LIB/RISHI.LIB/RS1.FILE/*'
Then the .mbr will make perfect sense. On my system:
WRKLNK '/QSYS.LIB/ROB.LIB/QPGMSRC.FILE/*'
Object link Type Attribute
. FILE PF
.. LIB PROD
A.MBR MBR
AA.MBR MBR
AAA.MBR MBR
AAAKEYTRG.MBR MBR
AAARPG.MBR MBR
AAASQL.MBR MBR
AAATEST.MBR MBR
...
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Rishi Seth
Sent: Tuesday, October 8, 2019 9:59 AM
To: Midrange Systems Technical Discussion <
inSubject: Re: how to ftp a text file from desktop to as400
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.
Hi,
I don\t want to send something from as400 to desktop but want text file
anotepad to be sent to as400 server.
for this i tried as advised by you but still getting below error:-
ftp> cd rishi
250 "RISHI" IS CURRENT LIBRARY.
ftp> quote site namefmt 1
250 NOW USING NAMING FORMAT "1".
ftp> get /qsys.lib/rishi.lib/rs1.file/embsqltxt y:/embsql.txt
200 PORT SUBCOMMAND REQUEST SUCCESSFUL.
501 UNKNOWN EXTENSION IN DATABASE FILE NAME.
ftp>
On Tue, Oct 8, 2019 at 2:28 PM Don Brown via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:
Using PDM create a new member in your source file, add some RPG code,
stepsfew
lines will do.
Then ftp this member down
Then ftp it back but to a new member name- did that work?
Check the contents of the new file to your text file.
Eg
Ftp system
Quote site namefmt 1
Get /qsys.lib/Rishi.lib/rs1.file/Newmbr.mbr y:/newmbr.txt
Put y:/newmbr.txt /qsys.lib/Rishi.lib/rs1.file/Newmbr2.mbr
Sent from my iPhone
On 8 Oct 2019, at 21:35, Rishi Seth <rishiseth99@xxxxxxxxx> wrote:
Hi,
after logging on to ftp ip address( as400 server) executed below
contatingfilesequentially but again ended up with same error 200 port subcommandrequest
successful and when i checked member c1 in rishi lib and rs1 source
it
was still empty and no code from my desktop dec64(text file
PORTrpgle
code) to the newly created text file type c1 member in rishi lib rs1source
file was found amazing on the one hand on dos promt it shows 200
wrote:only :-SUBCOMMAND REQUEST SUCCESSFUL on otherhand in as400 in that sourcefile-rs1
and in lib rishi and in member c1 nothing comes and remains empty
tp> cd rishi
250 "RISHI" IS CURRENT LIBRARY.
ftp> quote site namfmt 1
550 OPTION ON THE SITE SUBCOMMAND NOT RECOGNIZED.
ftp> quote site namfmt1
550 OPTION ON THE SITE SUBCOMMAND NOT RECOGNIZED.
ftp> quote site namefmt 1
250 NOW USING NAMING FORMAT "1".
ftp> put y:/dec64.txt /qsys.lib/rishi.lib/rs1.file/c1.mbr
200 PORT SUBCOMMAND REQUEST SUCCESSFUL.
On Tue, Oct 8, 2019 at 11:37 AM Don Brown via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:
If source I would not use bin
Still use namfmt 1
Change put to;
Put <path to file> /Qsys.lib/Rishi.lib/rs1.file/member_name.mbr
Where Rishi is the library name
Rs1 is the source file name
And member_name is the source member name
Note source file needs to have been created using command crtsrcpf.
Sent from my iPhone
On 8 Oct 2019, at 18:52, Rishi Seth <rishiseth99@xxxxxxxxx>
itwhich i
no there are some programs (rpgle) written in these text files
butjust
want to ftp to as400 in my source file and lib. so for this i amfollowing
belowsteps:-
1 .ftp ipaddress_of as400 server
2.then gave id and password and it got connected to server
3. then put bin command .
4.then put y:/dec64.txt rishi/rs1 (r
note i wanted to keep these notepad files on my desktop on c drive
due
to admin permission errors can not keep it in in c drive so kept
nothingon
shared drive called y here
but when trying to execute this step no. 4 getting below error:-
*200 PORT SUBCOMMAND REQUEST SUCCESSFUL.
However it shows above successful message but at background
rishiseth99@xxxxxxxxxis
ifsgetting exported from my y drive to the as400
Thanks
4.
On Tue, Oct 8, 2019 at 10:37 AM Don Brown via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:
If on a Windows PC
Ftp <ip address> or <dns name>
Enter user name and password
Quote site namfmt 1
Put <path to file> <ifs path>
Quit
Exit
I am presuming as you said a notepad file you want to save in the
wrote:
Sent from my iPhone
On 8 Oct 2019, at 18:08, Rishi Seth <rishiseth99@xxxxxxxxx>
stored on
Hi,so what are those ftp steps lets say i have notepad file
desktop then how can we transfer it to as400 system?
On Thu, Oct 3, 2019 at 1:18 PM Rishi Seth <
educate
as400wrote:
i need steps ftp steps which transfer text file from desktop to
server
On Thu, Oct 3, 2019 at 1:09 PM Jim Oberholtzer <
midrangel@xxxxxxxxxxxxxxxxx> wrote:
Does windows have an FTP client?
Does IBM i ( I highly doubt you have an AS/400, at least
(MIDRANGE-L)rishiseth99@xxxxxxxxx>yourself
enough to know that) have an FTP server?
Answer to both questions, yes.
It’s standard FTP.
On Thu, Oct 3, 2019 at 4:31 AM Rishi Seth <
wrote:
Hi,
How can i transfer text file from desktop to AS400 using FTP.
Thanks
--
This is the Midrange Systems Technical Discussion
https://lists.midrange.com/mailman/listinfo/midrange-lmailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
relatedrelatedor email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription
relatedmailingaffiliatequestions.
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription
mailingaffiliatequestions.
Help support midrange.com by shopping at amazon.com with our
--link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription
has______________________________________________________________________affiliatequestions.
Help support midrange.com by shopping at amazon.com with our
______________________________________________________________________link: https://amazon.midrange.com
______________________________________________________________________service.This email has been scanned by the Symantec Email Security.cloud
This email has been scanned for computer viruses. Although MSD
thetakenemail,
reasonable precautions to ensure no viruses are present in this
theMSD
cannot accept responsibility for any loss or damage arising from
use______________________________________________________________________
of
this email or attachments.
mailing--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailinglist
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
affiliate
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
affiliatelist
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
Help support midrange.com by shopping at amazon.com with our
______________________________________________________________________link: https://amazon.midrange.com
______________________________________________________________________service.This email has been scanned by the Symantec Email Security.cloud
______________________________________________________________________
takenThis email has been scanned for computer viruses. Although MSD has
email,reasonable precautions to ensure no viruses are present in this
MSD
cannot accept responsibility for any loss or damage arising from
mailinguse
of______________________________________________________________________
this email or attachments.
mailing--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
listaffiliate
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
______________________________________________________________________listaffiliate
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com
______________________________________________________________________service.This email has been scanned by the Symantec Email Security.cloud
taken
______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has
affiliatereasonable precautions to ensure no viruses are present in this email,MSD
cannot accept responsibility for any loss or damage arising from theuse of
this email or attachments.list
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our
--link: https://amazon.midrange.com--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
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.