"cd" harkens back to MS-DOS.
"pwd" harkens from *NIX.
Despite many years on UNIX & AIX, I still used the "cd" versions on IBM.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Vern Hamberg via MIDRANGE-L
Sent: Friday, June 2, 2023 5:36 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: Vern Hamberg <vhamberg@xxxxxxxxxxxxxxx>
Subject: Re: FTP question
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,
Am 02.06.2023 um 02:24 schrieb Thomas Burrows <thomas.burrows.1957@xxxxxxxxx>:
ftp> lcd
*Local directory now C:\Users\Thomas Burrows\Desktop\Subfile_Code.*
Not sure what lcd without any parameter is supposed to do. I think, it's merely printing your current working directory so you know "where you 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.