{"id":11792,"date":"2021-12-08T11:09:07","date_gmt":"2021-12-08T11:09:07","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=11792"},"modified":"2021-12-08T11:09:29","modified_gmt":"2021-12-08T11:09:29","slug":"solved-script-to-get-dynamic-file-name","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/unix\/script-to-get-dynamic-file-name\/9130.html","title":{"rendered":"Solved Script To Get Dynamic File Name"},"content":{"rendered":"<p>Hi,<\/p>\n<p>So for my source file name static.<br \/>\nconsider.. filename is &#8220;IDM_CON_DATA.DAT&#8221;<\/p>\n<p>so it was easy to pick up the file from ftp server by &#8211; mget IDM_CON_DATA.DAT..<\/p>\n<p>Now my source file changed to dynamic.. like &#8220;IDM_CON_DATA_YYYYMMDD.DAT&#8221;<br \/>\nIts a weekly process.. so file name will change..<\/p>\n<p>How to handle this situdation ?<\/p>\n<p>Plz help<\/p>\n<p>Thanks<br \/>\nUmar<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":6},"question-category":[64],"question_tags":[],"class_list":["post-11792","question","type-question","status-publish","hentry","question-category-unix"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/11792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=11792"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=11792"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=11792"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=11792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}