> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gpudb::UploadFilesFromurlRequest

> gpudb::UploadFilesFromurlRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ab62cc7f905247d940fd812c2d6a69f69">GPUdb::uploadFilesFromurl</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source">gpudb/protocol/upload\_files\_fromurl.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:a1cee3d63008a50bcc6f13f1fd9b8942d" id="r_a1cee3d63008a50bcc6f13f1fd9b8942d">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a1cee3d63008a50bcc6f13f1fd9b8942d">UploadFilesFromurlRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a1cee3d63008a50bcc6f13f1fd9b8942d">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1UploadFilesFromurlRequest" title="A set of parameters for GPUdb::uploadFilesFromurl.">UploadFilesFromurlRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a1cee3d63008a50bcc6f13f1fd9b8942d">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a12a4697945da21404b42c54fe0d6676e" id="r_a12a4697945da21404b42c54fe0d6676e">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a12a4697945da21404b42c54fe0d6676e">UploadFilesFromurlRequest</a> (const std::vector\< std::string > \&fileNames\_, const std::vector\< std::string > \&urls\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a12a4697945da21404b42c54fe0d6676e">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1UploadFilesFromurlRequest" title="A set of parameters for GPUdb::uploadFilesFromurl.">UploadFilesFromurlRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a12a4697945da21404b42c54fe0d6676e">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a0d1dc93902073a455292b7da52ecff46" id="r_a0d1dc93902073a455292b7da52ecff46">
        <td className="memItemLeft" align="right" valign="top">std::vector\< std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a0d1dc93902073a455292b7da52ecff46">fileNames</a></td>
      </tr>

      <tr className="memdesc:a0d1dc93902073a455292b7da52ecff46">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">An array of full file name paths to be used for the files uploaded to KiFS. <br /></td>
      </tr>

      <tr className="separator:a0d1dc93902073a455292b7da52ecff46">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ac31a7a0406e62d676847d708c8d36d5c" id="r_ac31a7a0406e62d676847d708c8d36d5c">
        <td className="memItemLeft" align="right" valign="top">std::vector\< std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ac31a7a0406e62d676847d708c8d36d5c">urls</a></td>
      </tr>

      <tr className="memdesc:ac31a7a0406e62d676847d708c8d36d5c">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">List of URLs to upload, for each respective file in <a className="el" href="#a0d1dc93902073a455292b7da52ecff46">fileNames</a>. <br /></td>
      </tr>

      <tr className="separator:ac31a7a0406e62d676847d708c8d36d5c">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a8e2990f2161ef73601b34677a39c00dd" id="r_a8e2990f2161ef73601b34677a39c00dd">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a8e2990f2161ef73601b34677a39c00dd">options</a></td>
      </tr>

      <tr className="memdesc:a8e2990f2161ef73601b34677a39c00dd">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a8e2990f2161ef73601b34677a39c00dd">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ab62cc7f905247d940fd812c2d6a69f69">GPUdb::uploadFilesFromurl</a>. </p>
      <p>Uploads one or more files to <a href="/content/tools/kifs/" target="_top">KiFS</a>.</p>
      <p>Each file path must reside in a top-level KiFS directory, i.e. one of the directories listed in <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a4938a2b931ab7710d13c4eb46caeb79b">GPUdb::showDirectories</a>. The user must have write permission on the directory. Nested directories are permitted in file name paths. Directories are delineated with the directory separator of '/'. For example, given the file path '/a/b/c/d.txt', 'a' must be a KiFS directory.</p>
      <p>These characters are allowed in file name paths: letters, numbers, spaces, the path delimiter of '/', and the characters: '.' '-' ':' '\[' ']' '(' ')' '#' '='. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source#l00032">32</a> of file <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source">upload\_files\_fromurl.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a1cee3d63008a50bcc6f13f1fd9b8942d">◆ </a></span>UploadFilesFromurlRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::UploadFilesFromurlRequest::UploadFilesFromurlRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1UploadFilesFromurlRequest" title="A set of parameters for GPUdb::uploadFilesFromurl.">UploadFilesFromurlRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source#l00038">38</a> of file <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source">upload\_files\_fromurl.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a12a4697945da21404b42c54fe0d6676e">◆ </a></span>UploadFilesFromurlRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::UploadFilesFromurlRequest::UploadFilesFromurlRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::vector\< std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">fileNames\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::vector\< std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">urls\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">options\_</span></span> )</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1UploadFilesFromurlRequest" title="A set of parameters for GPUdb::uploadFilesFromurl.">UploadFilesFromurlRequest</a> object with the specified parameters. </p>

        <div className="dl params">
          <div className="dt">Parameters</div>

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">fileNames\_</td>
                <td>An array of full file name paths to be used for the files uploaded to KiFS. File names may have any number of nested directories in their paths, but the top-level directory must be an existing KiFS directory. Each file must reside in or under a top-level directory. A full file name path cannot be larger than 1024 characters. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">urls\_</td>
                <td>List of URLs to upload, for each respective file in <span className="em arg">fileNames\_</span>. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>
                <td>Optional parameters. The default value is an empty map. </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source#l00062">62</a> of file <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source">upload\_files\_fromurl.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a0d1dc93902073a455292b7da52ecff46">◆ </a></span>fileNames</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\<std::string> gpudb::UploadFilesFromurlRequest::fileNames</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>An array of full file name paths to be used for the files uploaded to KiFS. </p>
        <p>File names may have any number of nested directories in their paths, but the top-level directory must be an existing KiFS directory. Each file must reside in or under a top-level directory. A full file name path cannot be larger than 1024 characters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source#l00076">76</a> of file <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source">upload\_files\_fromurl.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a8e2990f2161ef73601b34677a39c00dd">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::UploadFilesFromurlRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source#l00086">86</a> of file <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source">upload\_files\_fromurl.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ac31a7a0406e62d676847d708c8d36d5c">◆ </a></span>urls</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\<std::string> gpudb::UploadFilesFromurlRequest::urls</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>List of URLs to upload, for each respective file in <a className="el" href="#a0d1dc93902073a455292b7da52ecff46">fileNames</a>. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source#l00081">81</a> of file <a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source">upload\_files\_fromurl.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/upload__files__fromurl_8h_source">upload\_files\_fromurl.h</a></li>
    </ul>
  </div>
</div>
