|
In practice, when you ftp successfully to a host system, your current
directory on the PC side is the one where you started ftp. Running lcd
with no parameters would say "C:\somepath" is now the current directory.
But you were already there. So it's not changing anything anyway.
The same occurs on the IBMi. When you just log in, if your user profile
has an associated /home/yourUserProfile directory, that will be the current
host directory. Running cd with no parameters, would just do nothing but
reaffirm that this is now your current directory, but it actually does not
change anything.
HTH
JS
El vie, 2 jun 2023 a las 6:36, Vern Hamberg via MIDRANGE-L (<
midrange-l@xxxxxxxxxxxxxxxxxx>) escribió:
I have never used lcd without a parameter, either - it means "local
change directory", so it is changing directory on the client. If I want
to know what directory I am in locally, I use lpwd - local present
working directory.
To do the same on the server, just use the same functions without the
leading "l" - cd and pwd.
Cheers
Vern
On 6/2/2023 3:09 AM, Patrik Schindler wrote:
Hello Thomas,thomas.burrows.1957@xxxxxxxxx>:
Am 02.06.2023 um 02:24 schrieb Thomas Burrows <
it's merely printing your current working directory so you know "where you
ftp> lcdNot sure what lcd without any parameter is supposed to do. I think,
*Local directory now C:\Users\Thomas Burrows\Desktop\Subfile_Code.*
are". Thus, probably not needed.
-snip-
--
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.