{"id":3651,"date":"2019-02-12T16:09:33","date_gmt":"2019-02-12T16:09:33","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/6-internodal-communication\/fileget\/"},"modified":"2026-02-11T14:10:24","modified_gmt":"2026-02-11T19:10:24","slug":"fileget","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/18-internodal-communication\/fileget\/","title":{"rendered":"fileget"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Fetch one or more files from a remote server using FTP or SFTP.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>fileget<\/strong> &lt;host&gt; &lt;userid&gt; &lt;password&gt; &lt;remote_dir&gt; &lt;files&gt; [done_event]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>host<\/p>\n<\/td>\n<td>\n<p>Specify the hostname of the remote server.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>userid<\/p>\n<\/td>\n<td>\n<p>Specify the user account on the remote server.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>password<\/p>\n<\/td>\n<td>\n<p>Specify the password for the specified user account.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>remote_dir<\/p>\n<\/td>\n<td>\n<p>Specify the source directory for the file(s).\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>files<\/p>\n<\/td>\n<td>\n<p>Specify a filename or file pattern. You can use a wild character such as * in the filename pattern.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>done_event<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the event name to set upon completion of the file transfer.\u00a0<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p>fileget example.com user123 pass456 \/remote\/path pattern* completion_event<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The destination for downloaded files is the current directory. Ensure you are in the desired directory before running.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Fetch one or more files from a remote server using FTP or SFTP. Enter: fileget &lt;host&gt; &lt;userid&gt; &lt;password&gt; &lt;remote_dir&gt; &lt;files&gt; [done_event] Where: host Specify the hostname of the remote server. userid Specify the user account on the remote server. password Specify the password for the specified user account. remote_dir Specify the source directory for [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1953,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3651","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3651"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3651\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1953"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}