{"id":14745,"date":"2021-12-15T13:56:29","date_gmt":"2021-12-15T13:56:29","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=14745"},"modified":"2021-12-15T13:56:46","modified_gmt":"2021-12-15T13:56:46","slug":"error-opening-script-file-when-connecting-to-ftp","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/error-opening-script-file-when-connecting-to-ftp\/28123.html","title":{"rendered":"Error Opening Script File When Connecting To Ftp"},"content":{"rendered":"<p>I want to create a ftp batch file that would automate without having me type in the user and password. Here are the step before I log into ftp. I did create a txt file which contained the user and password and I called it login.txt. However, when I execute the batch file I get error of opening script file login.txt. I have no clue how to fix this.<br \/>\n@echo off<br \/>\nset path=c:\\;c:\\window\\system32;c:\\clmlog<br \/>\no:<br \/>\ncd sds<br \/>\nftp ftp.server.com -s:login.txt<\/p>\n<p>The login.txt contain:<br \/>\nuser<br \/>\npassword<br \/>\ncd outgoing<br \/>\ndir<\/p>\n<p>The batch file and the login.txt are both in clmlog directory<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":31},"question-category":[55],"question_tags":[],"class_list":["post-14745","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/14745","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=14745"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=14745"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=14745"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=14745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}