|
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,I
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
get this. *qsys.lib/cobolkid1.lib/qrpglesrc.file/aslf00df.mbr*
*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 directoryftp> 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 directory550 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
200 PORT subcommand request successful.list
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
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxxlist
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
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 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.