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



Perhaps this may help:
https://www.ibm.com/support/pages/disabling-epasveport-iseries-ftp-client-r610-and-above

On Tuesday, October 8, 2019, 4:29:24 PM EDT, Rishi Seth <rishiseth99@xxxxxxxxx> wrote:

for you its working for me error as mentioned in last email.
ftp> quote site namefmt 1
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 found
ftp> put y:\dec64.txt/qsys.lib/rishi.lib/qrpglesrc.file/c1.mbr
y:\dec64.txt/qsys.lib/rishi.lib/qrpglesrc.file/c1.mbr: File not found
ftp>

On Tue, Oct 8, 2019 at 10:27 PM Rob Berendt <rob@xxxxxxxxx> wrote:

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


Hi,
I don\t want to send something from as400 to desktop but want text file
in
notepad 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,
a
few
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
steps
sequentially but again ended up with same error 200 port subcommand
request
successful and when i checked member c1 in rishi lib and rs1 source
file
it
was still empty and no code from my desktop dec64(text file
contating
rpgle
code) to the newly created text file type c1 member in rishi lib rs1
source
file was found amazing on the one hand on dos promt it shows  200
PORT
SUBCOMMAND REQUEST SUCCESSFUL on otherhand in as400 in that source
file-rs1
and in lib rishi and in member c1 nothing comes and remains empty
only :-
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>
wrote:

no there are some programs (rpgle) written in these text files
which i
just
want to ftp to as400 in my source file and lib. so for this i am
following
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
but
due
to admin permission errors can not keep it in in c drive so kept
it
on
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
nothing
is
getting 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
ifs

Sent from my iPhone

On 8 Oct 2019, at 18:08, Rishi Seth <rishiseth99@xxxxxxxxx>
wrote:

Hi,so what are those ftp steps lets say i have notepad file
stored on
desktop then how can we transfer it to as400 system?

On Thu, Oct 3, 2019 at 1:18 PM Rishi Seth <
rishiseth99@xxxxxxxxx

wrote:

i need steps ftp steps which transfer text file from desktop to
as400
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
educate
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 <
rishiseth99@xxxxxxxxx>
wrote:

Hi,

How can i transfer text file from desktop to AS400 using FTP.

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

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects
--
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 email has been scanned by the Symantec Email Security.cloud
service.

______________________________________________________________________


______________________________________________________________________
This email has been scanned for computer viruses. Although MSD
has
taken
reasonable precautions to ensure no viruses are present in this
email,
MSD
cannot accept responsibility for any loss or damage arising from
the
use
of
this email or attachments.

______________________________________________________________________
--
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 email has been scanned by the Symantec Email Security.cloud
service.

______________________________________________________________________


______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has
taken
reasonable precautions to ensure no viruses are present in this
email,
MSD
cannot accept responsibility for any loss or damage arising from
the
use
of
this email or attachments.

______________________________________________________________________
--
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 email has been scanned by the Symantec Email Security.cloud
service.

______________________________________________________________________

______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has
taken
reasonable precautions to ensure no viruses are present in this email,
MSD
cannot accept responsibility for any loss or damage arising from the
use of
this email or attachments.
______________________________________________________________________
--
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
--
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 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.