<?xml version="1.0" encoding="Shift_JIS"?>
<?xml-stylesheet type="text/xsl" href="../Fmethod_xsl/fmethod_he_c.xsl"?>

<root>
  <func>


    <title>ds_puthddfile</title>


    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI ds_puthddfile(unsigned short FlibHndl, char *net_file, char *nc_file);</prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
The file in the hard disk of the DATA SERVER is transferred to the host computer side according to the "put" command of the FTP.<br/>
The wild-card("*", "?") cannot be used to specify the name.<br/>
In this function, the control returns to the application without only requesting the transfer of the file according to the "put" command of the FTP to the DATA SERVER, and waiting for the end of the processing.<br/>
The final result can be acquired by <a href="data/ds_rdresult.htm" target="_parent">ds_rdresult</a> function.
<p/>
When this function ends normally, the process of DATA SERVER is occupied by the requested work.<br/>
When the <a href="data/ds_rdresult.htm" target="_parent">ds_rdresult</a> is normal end or it returns the values other than EW_BUSY, this occupation are released.
<p/>
When the process of requested work by this function is executing, the processing can be discontinued by <a href="data/ds_cancel.htm" target="_parent">ds_cancel</a>.<br/>
When processing is discontinued, the occupation of the DATA SERVER is released.
        </cmn>
    </doc>



    <argument>
        <hssb>
            <cmn>
                <item>
                    <name>FlibHndl</name>
                    <type>in</type>
                    <content>
                        <p>
                            Specify the library handle. See "<a href="handle.htm" target="_parent">Library handle</a>" for details.
                        </p>
                    </content>
                </item>

                <item>
<name>net_file</name>
<type>in</type>
                    <content>
Specify the pointer to the string where the file name(file name in the host computer) of the transfer destination is stored.<br/>
Specify the Ascii string less than 256 characters which included NULL.
                    </content>
                </item>

                <item>
<name>nc_file</name>
<type>in</type>
                    <content>
Specify the pointer to the string where the file name(file name in the DATA SERVER) of the transfer source is stored.<br/>
The 63 characters from the head are recognized as file name, but the file name in DATA SERVER is managed by the format of 8.3.
                    </content>
                </item>
            </cmn>
        </hssb>
    </argument>



    <errcode>
        <item>
            <name>EW_NOOPT</name>
            <content>No option</content>
        </item>
        <item>
            <name>EW_REJECT</name>
            <content>CNC execution rejection<br/>The DATA SERVER is doing another processing.</content>
        </item>
        <add></add>
    </errcode>



    <option>
        <hssb>The DATA SERVER function and the extended driver/library function are necessary.</hssb>
        <add></add>
    </option>



    <parameter>
    </parameter>



    <mode></mode>



    <support>
        <m>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
             <fs15>X</fs15>
            <fs15i>X</fs15i>
             <fs16>X</fs16>
             <fs18>X</fs18>
             <fs21>X</fs21>
           <fs16ia>H</fs16ia>
           <fs18ia>H</fs18ia>
           <fs21ia>H</fs21ia>
           <fs16ib>H</fs16ib>
           <fs18ib>H</fs18ib>
           <fs21ib>H</fs21ib>
            <fs30i>X</fs30i>
        </m>
        <t>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
             <fs15>X</fs15>
            <fs15i>X</fs15i>
             <fs16>H</fs16>
             <fs18>H</fs18>
             <fs21>X</fs21>
           <fs16ia>H</fs16ia>
           <fs18ia>H</fs18ia>
           <fs21ia>X</fs21ia>
           <fs16ib>H</fs16ib>
           <fs18ib>H</fs18ib>
           <fs21ib>X</fs21ib>
            <fs30i>X</fs30i>
        </t>
        <lc>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
             <fs15>X</fs15>
            <fs15i>X</fs15i>
             <fs16>X</fs16>
             <fs18>X</fs18>
             <fs21>X</fs21>
           <fs16ia>X</fs16ia>
           <fs18ia>X</fs18ia>
           <fs21ia>X</fs21ia>
           <fs16ib>X</fs16ib>
           <fs18ib>X</fs18ib>
           <fs21ib>X</fs21ib>
            <fs30i>X</fs30i>
        </lc>
        <p>
            <fs16i>X</fs16i>
            <fs18i>X</fs18i>
        </p>
        <l>
            <fs16i>X</fs16i>
            <fs18i>X</fs18i>
        </l>
        <w>
            <fs16i>X</fs16i>
            <fs18i>X</fs18i>
        </w>
        <pw>
            <d>X</d>
            <h>X</h>
        </pw>
        <add><b></b></add>
    </support>



    <reference></reference>



    <example></example>



  </func>
</root>
