×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Just swap the file names.
You have to put the remote file first and then how you will call it locally.

Javier.

El mié, 31 may 2023 a las 21:43, Thomas Burrows (<
thomas.burrows.1957@xxxxxxxxx>) escribió:

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.



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