<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-us" xml:lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="security" content="public" /> <meta name="Robots" content="index,follow" /> <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> <meta name="DC.Type" content="reference" /> <meta name="DC.Title" content="NAMEFMT (Select File Naming Format)" /> <meta name="DC.Relation" scheme="URI" content="rzaiqclientsu.htm" /> <meta name="DC.Relation" scheme="URI" content="rzaiqappend.htm" /> <meta name="DC.Relation" scheme="URI" content="rzaiqdelete.htm" /> <meta name="DC.Relation" scheme="URI" content="rzaiqdir.htm" /> <meta name="DC.Relation" scheme="URI" content="rzaiqftpconvn.htm" /> <meta name="DC.Relation" scheme="URI" content="rzaiqcsubcs.htm" /> <meta name="DC.Relation" scheme="URI" content="rzaiqftpconvn.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rzaiqnamefmt" /> <meta name="DC.Language" content="en-us" /> <!-- All rights reserved. Licensed Materials Property of IBM --> <!-- US Government Users Restricted Rights --> <!-- Use, duplication or disclosure restricted by --> <!-- GSA ADP Schedule Contract with IBM Corp. --> <link rel="stylesheet" type="text/css" href="./ibmdita.css" /> <link rel="stylesheet" type="text/css" href="./ic.css" /> <title>NAMEFMT (Select File Naming Format)</title> </head> <body id="rzaiqnamefmt"><a name="rzaiqnamefmt"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">NAMEFMT (Select File Naming Format)</h1> <div><div class="section"><h4 class="sectiontitle">FTP client subcommand</h4><p>To select which file name format to use on the local system and the remote system (if it is an iSeries™), use the NAMEFMT FTP client subcommand:</p> <div class="figborder"><p>NAmefmt [ 0 | 1 ]</p> </div> <dl><dt class="dlterm">0</dt> <dd>A name format only for library file system database files. The general format is:<pre>[libname/]filename[.mbrname]</pre> </dd> <dt class="dlterm">1</dt> <dd>A name format for all file systems that FTP supports, including the library file system. You must set the name format to '1' to work with all iSeries file systems.</dd> </dl> <p>Library file system files in this name format are:</p> <pre>[/QSYS.LIB/][libname.LIB/]filename.FILE[/mbrname.MBR]</pre> <p>For save files, you can also use the format:</p> <pre>/QSYS.LIB/libname.LIB/filename.SAVF</pre> <p>Files in the document library services file system are in this format:</p> <pre>[/QDLS/][{foldername[.ext]/}]filename[.ext]</pre> <p>For optical, the format is:</p> <pre>/QOPT/volname/dirname/filename.ext</pre> <div class="note"><span class="notetitle">Notes:</span> <ol><li>You can set the name format to 0 only when the working directory is a database library.</li> <li>If you specify the NAMEFMT subcommand without a parameter, the client displays the current name format.</li> </ol> </div> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqclientsu.htm" title="Use File Transfer Protocol (FTP) client subcommands to establish a connection with a remote FTP server, navigate libraries and directories, create and delete files, and transfer files.">File Transfer Protocol client subcommands</a></div> </div> <div class="relref"><strong>Related reference</strong><br /> <div><a href="rzaiqappend.htm">APPEND (Append a Local File Member to a Remote File)</a></div> <div><a href="rzaiqdelete.htm">DELETE (Delete a File on a Remote System)</a></div> <div><a href="rzaiqdir.htm">DIR (List Directory Entries, Libraries, or Files)</a></div> <div><a href="rzaiqftpconvn.htm" title="The File Transfer Protocol (FTP) server arranges the information units of a file system in a multiple-level tree-like structure.">File systems and naming conventions</a></div> <div><a href="rzaiqcsubcs.htm" title="The File Transfer Protocol (FTP) client subcommands described in this topic make use of syntax conventions:">File Transfer Protocol client syntax conventions</a></div> </div> </div> </body> </html>