Midrange News for the IBM i Community


Posted by: renojim
FTP lcd command not changing IFS directory
has no ratings.
Published: 29 Sep 2011
Revised: 23 Jan 2013 - 1852 days ago
Last viewed on: 18 Feb 2018 (5448 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

FTP lcd command not changing IFS directory Published by: renojim on 29 Sep 2011 view comments(3)

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: Paulster
Premium member *
Sweden and The Netherlands
Comment on: FTP lcd command not changing IFS directory
Posted: 6 years 4 months 22 days 17 hours 3 minutes ago

Hi Reno,

Not to worry, try FTP statement 'namefmt 1' first and check out the attached link. If that don't work, we'll both apply for truck-driver. Already got my drivers license for truck with trailer, let me know when you have your license and we're good to go!


Link:
http://www.itjungle.com/tfh/tfh081202-story04.html

Good luck,

Paulster

Posted by: DaleB
Premium member *
Reading, PA
Comment on: FTP lcd command not changing IFS directory
Posted: 6 years 4 months 22 days 9 hours 21 minutes ago
Edited: Fri, 30 Sep, 2011 at 08:55:11 (2333 days ago)

A little elaboration... namefmt 1 sets IFS naming locally; quote site namefmt 1 sets it remotely (although I have this nagging feeling that if both are i OS, they might get set together). namefmt 0 sets it back to library/file naming. You can freely switch from library/file to IFS; current directory becomes /QSYS.LIB/SOMELIB.LIB. But to go from IFS to library/file, you must first set current directory to /QSYS.LIB/SOMELIB.LIB, then the "current directory" becomes SOMELIB. If you try to go from IFS naming to library/file naming with some other current directory, say /home, you get an error, "550 Current directory requires name format 1."

Posted by: renojim
Premium member *
Comment on: FTP lcd command not changing IFS directory
Posted: 6 years 4 months 22 days 8 hours 29 minutes ago

Yep, that did it, thanks all!