The default directory name convention is set by the FTP server. It can
easily be set to default to namefmt 1 (as I do on my systems) or namefmt 0
which is the IBM default. Best to pick which one you want and set it when
the session starts. By issuing the command you then make sure both the
server and client are using the same naming convention.

Lots of fun when the two are different.

On Fri, Jun 2, 2023 at 5:50 PM VERNON HAMBERG Owner via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Or /QSYS.LIB/QGPL.LIB


On Fri, 2 Jun, 2023 at 5:34 PM, Javier Sanchez <
javiersanchezbarquero@xxxxxxxxx> wrote:


To: midrange systems technical discussion

Missed to mention that if you don't have an associated /home directory, it
defaults to QGPL as your current directory. The rest applies just the
same.

JS

El vie, 2 jun 2023 a las 16:32, Javier Sanchez (<
javiersanchezbarquero@xxxxxxxxx<mailto:javiersanchezbarquero@xxxxxxxxx>>)
escribió:

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<mailto: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,

Am 02.06.2023<http://02.06.2023> um 02:24 schrieb Thomas Burrows <
thomas.burrows.1957@xxxxxxxxx<mailto: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<mailto:
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<mailto:
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<mailto:
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<mailto:
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<mailto:
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<mailto:
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.

--

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.