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



let me try that

On Thu, Jun 1, 2023 at 11:51 AM Javier Sanchez <
javiersanchezbarquero@xxxxxxxxx> wrote:

Sorry for a typo, here's the right expression:

get /QSYS.LIB/MYLIB.LIB/MYSRCF.FILE/MYSRCMBR.MBR myLocalFileName.txt

JS

El jue, 1 jun 2023 a las 10:49, Javier Sanchez (<
javiersanchezbarquero@xxxxxxxxx>) escribió:

Thomas, the QSYS filesystem always starts with a leading slash "/"
character, which is the "root" directory. You are still not putting the
slash in the name of your source file.
So anything in the QSYS filesystem should look like:

get /QSYS.LIB/MYLIIB.LIB/MYSRCF.FILE.MYSRCMBR.MBR

Get it?

Javier.

El jue, 1 jun 2023 a las 10:42, Thomas Burrows (<
thomas.burrows.1957@xxxxxxxxx>) escribió:

Have tried this effort again.

What I get.

====================================================
C:\Users\Thomas Burrows\Desktop\Subfile_Code>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)): cobolkid
331 Enter password.
Password:
230 COBOLKID logged on.
ftp> lcd
Local directory now C:\Users\Thomas Burrows\Desktop\Subfile_Code.
ftp> get qsys.lib/cobolkid1.lib/qrpglesrc.file/aslfoodf.mbr
aslf00df.txt
200 PORT subcommand request successful.
550 Unable to find file
/home/COBOLKID/qsys.lib/cobolkid1.lib/qrpglesrc.file/aslfoodf.mbr
ftp> put qsys.lib/cobolkid1.lib/qrpglesrc.file/aslfoodf.mbr
aslf00df.txt
qsys.lib/cobolkid1.lib/qrpglesrc.file/aslfoodf.mbr: File not found
ftp> put aslf00df.txt qsys.lib/cobolkid1.lib/qrpglesrc.file/aslf00df.mbr
aslf00df.txt: File not found

=====================================================

If doing a LCD gives me Local directory now *C:\Users\Thomas
Burrows\Desktop\Subfile_Code*

Then why can I not find that code in the *SUBFILE_CODE* folder off my
desktop?

I have done this before. What am I missing that is not getting the LCD
to
look at the "subfile_code" folder?
When I type out *C:\Users\Thomas Burrows\Desktop\Subfile_Code>*
in front of the file *ASLF00DF.TXT* I get an error that FTP cannot
solve *\Thomas
Burrows\*
*==================================================*


C:\Users\Thomas Burrows>cd desktop

C:\Users\Thomas Burrows\Desktop>cd subfile_code

C:\Users\Thomas Burrows\Desktop\Subfile_Code>dir
Volume in drive C has no label.
Volume Serial Number is 68B2-6972

Directory of C:\Users\Thomas Burrows\Desktop\Subfile_Code

06/01/2023 11:28 AM <DIR> .
06/01/2023 11:28 AM <DIR> ..
*05/30/2023 03:22 PM 2,455 aslf001df.txt*
05/30/2023 03:22 PM 2,321 pnl001df.txt
05/30/2023 03:22 PM 1,499 pnl001rg.txt
05/30/2023 03:22 PM 111 sfl001lf.txt
05/30/2023 03:22 PM 382 sfl001pf.txt
05/30/2023 03:22 PM 2,009 sfl001rg.txt
05/30/2023 03:22 PM 2,365 sfl002df.txt
05/30/2023 03:22 PM 201 sfl002pf.txt
05/30/2023 03:22 PM 3,727 sfl002rg.txt



On Thu, Jun 1, 2023 at 8:48 AM Mark Waterbury <
mark.s.waterbury@xxxxxxxxxxxxx> wrote:

Thomas,
In the context of FTP, you sign-on using an FTP "client" and it talks
to
an FTP "server" ...
If you invoked the FTP client (command) on your local PC, the PC is
the
client, and the remote host running the FTP server is the "host
server."
The FTP "get" command means to get (retrieve) a file from the remote
host
server to the local client.
The FTP "put" command means to put (send) a file from the local client
to
the remote host server.
So, in this case, I think you want to use a "put" FTP command.
I hope that helps,
Mark S. Waterbury
On Wednesday, May 31, 2023 at 11:43:39 PM EDT, Thomas Burrows <
thomas.burrows.1957@xxxxxxxxx> wrote:

The problem is I can use the FTP LCD command and I am told the local
directory - on PC I am assuming - is
"*C:\Users\Thomas Burrows\Desktop\Subfile_Code"*

*When I attempt to put the file from my PC in the above mentioned
folder I
get this. *

*get aslf00df.txt qsys.lib/cobolkid1.lib/qrpglesrc.file/aslf00df.mbr*


*200 PORT subcommand request successful.550 Unable to find file
/home/COBOLKID/aslf00df.txt*

It is looking in my IFS directory

What could I be doing wrong??



ftp> dir c:\users\thomas burrows\desktop
200 PORT subcommand request successful.
Error opening local file burrows\desktop.
b:No Such file or directory
ftp> lcd
Local directory now C:\Users\Thomas Burrows\Desktop\Subfile_Code.
ftp> lcd
Local directory now C:\Users\Thomas Burrows\Desktop\Subfile_Code.
ftp> dir
200 PORT subcommand request successful.
125 No files found in directory /home/COBOLKID
250 List completed.
ftp> lcd
Local directory now C:\Users\Thomas Burrows\Desktop\Subfile_Code.
ftp> dir
200 PORT subcommand request successful.
125 No files found in directory /home/COBOLKID
250 List completed.
ftp> dir c:\users\thomas burrows\desktop\subfile_code
200 PORT subcommand request successful.
Error opening local file burrows\desktop\subfile_code.
b:No Such file or directory
550 Working directory not changed.
ftp> lcd
Local directory now C:\Users\Thomas Burrows\Desktop\Subfile_Code.
ftp> lcd "c:\users\thomas burrows\desktop\subfile_code"
Local directory now C:\users\thomas burrows\desktop\Subfile_Code.
ftp> cd cobolkid1
550-Specified directory does not exist or cannot be accessed.
550 Working directory not changed.
ftp>* get aslf00df.txt
qsys.lib/cobolkid1.lib/qrpglesrc.file/aslf00df.mbr*
200 PORT subcommand request successful.
550 Unable to find file /home/COBOLKID/aslf00df.txt
ftp> lcd "c:\users\thomas burrows\desktop\subfile_code"
Local directory now C:\users\thomas burrows\desktop\Subfile_Code.
ftp> lcd
Local directory now C:\Users\Thomas Burrows\Desktop\Subfile_Code.
ftp>
--
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@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.


--
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@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.


--
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@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.


--
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@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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.