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>
As an Amazon Associate we earn from qualifying purchases.