Thanks , it did work like below. I was able to send the contents of this
'callstack' text file from my desktop to member 'Callstack' inside K211/SR1
here.
like below:-
C:\Users\u1>ftp pub400.com
Connected to pub400.com.
220-QTCP at PUB400.COM.
220 Connection will close if idle more than 1666 minutes.
501 OPTS unsuccessful; specified subcommand not recognized.
User (pub400.com:(none)): k21
331 Enter password.
Password:
230 K21 logged on.
ftp> quote site namefmt 0
550 Current directory requires name format 1.
ftp> quote site namefmt 1
250 Now using naming format "1".
ftp> lcd C:\Users\u1\Desktop
Local directory now C:\Users\u1\Desktop.
ftp> cd /QSYS.LIB/K211.LIB
250 "/QSYS.LIB/K211.LIB" is current library.
ftp> quote site namefmt 0
250 Now using naming format "0".
ftp> put callstack.txt SR1.CALLSTACK (replace
200 PORT subcommand request successful.
150 Sending file to member CALLSTACK in file SR1 in library K211.
226 File transfer completed successfully.
ftp: 5191 bytes sent in 0.18Seconds 28.68Kbytes/sec.
ftp>
So similarly : 1) if i want to transfer any text file from my desktop to a
particular IFS director's path then what would be similar kind of steps
could some one please provide example like above i gave with all the steps.
2) Once it's transferred successfully there on 'pub400.com' after
following above step1) then how to copy that text file's content in to any
source member which is blank i mean just for this recent example if i want
the file which is there on IFS path( with Type as S'TMF' and under the
object link ) then i want to copy that into the mentioned library as
K211 and source physical file name as 'SR1' ( K211/SR1) and in it's some
other member name let's say 'callstack1'. i mean i want data of this file
from IFS path to source member of SR1 then how to do this ( any example,
like I shared my FTP session above or with proper steps ( with screenshots
probably) which needs to be followed inside IBM i please) ?
Thanks
On Wed, 21 Jun 2023 at 02:36, David Gibbs via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:
On Mon, Jun 19, 2023 at 1:16 PM tim ken <timk2574@xxxxxxxxx> wrote:
Could someone please share IBM's standard manual to FTP from local
desktop
to IBM i and in reverse order and SFTP as well ?( which has sequential
steps to do so)
This topic doesn't appear to relate to RPG programming ... please post
replies to MIDRANGE-L (https://mlists.or/midrange-l).
Thanks!
David
--
For midrange.com business, please use david <at> midrange.com instead.
Use this email address only if you cannot contact me on my
midrange.com address.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.