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



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


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.