{"id":3464,"date":"2013-03-17T07:06:59","date_gmt":"2013-03-17T14:06:59","guid":{"rendered":"http:\/\/m2msupport.net\/m2msupport\/?page_id=3464"},"modified":"2017-09-06T22:42:24","modified_gmt":"2017-09-07T05:42:24","slug":"atftpmode-set-ftp-for-active-or-passive-mode","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/atftpmode-set-ftp-for-active-or-passive-mode\/","title":{"rendered":"AT+FTPMODE &#8211; Set FTP for active or passive mode"},"content":{"rendered":"<p>AT+FTMODE command is used to set up the FTP mode to be passive or active.<\/p>\n<p>With <a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">Online AT Command Tester<\/a> tool, you can test Simcom HTTP feature.<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\"><img decoding=\"async\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/sim_ftp1.PNG\" height=\"95%\" width=\"95%\"\/><\/a><\/p>\n<p>With <a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">Online AT Command Tester<\/a> tool,send batch of AT commands in the script mode to test Simcom FTP feature,<br \/>\n<code><br \/>\nChecking registration status...<\/p>\n<p>AT+CREG?<\/p>\n<p>+CREG: 0,5<\/p>\n<p>OK<br \/>\nDevice is registered and is roaming.<\/p>\n<p>Querying bearer 1 .<\/p>\n<p>AT+SAPBR=2,1<\/p>\n<p>+SAPBR: 1,1,\"10.101.13.111\"<\/p>\n<p>OK<br \/>\nBearer  1 is Connected.IP address is \"10.101.13.111\"<\/p>\n<p>Bearer 1 is Connected.<\/p>\n<p>Setting up FTP parameters..<\/p>\n<p>AT+FTPCID=1<\/p>\n<p>OK<br \/>\nAT+FTPSERV=\"ftp.m2msupport.net\"<\/p>\n<p>OK<br \/>\nAT+FTPUN=\"xxxxx\"<\/p>\n<p>OK<br \/>\nAT+FTPPW=\"xxxxxxx\"<\/p>\n<p>OK<br \/>\nAT+FTPGETNAME=\"ftptest.txt\"<\/p>\n<p>OK<br \/>\nAT+FTPGETPATH=\"\/www\/m2msupport\/\"<\/p>\n<p>OK<br \/>\nAT+FTPGET=1<\/p>\n<p>OK<\/p>\n<p>+FTPGET:1,1<br \/>\nFTP session sucessfully started<\/p>\n<p>AT+FTPGET=2,1024<\/p>\n<p>+FTPGET:2,0<\/p>\n<p>OK<br \/>\nFTP data transfer is complete<\/p>\n<p>+FTPGET:1,1<br \/>\nFTP session sucessfully started<\/p>\n<p>AT+FTPGET=2,1024<\/p>\n<p>+FTPGET:2,43<br \/>\nSucessful FTP file get from m2msupport.net.<br \/>\nOK<br \/>\nAT+FTPGET=2,1024<\/p>\n<p>+FTPGET:2,0<\/p>\n<p>OK<br \/>\nFTP data transfer is complete<\/p>\n<p>+FTPGET:1,0<br \/>\nFTP session end<\/code><\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\"><img decoding=\"async\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/sim_ftp2.PNG\" height=\"95%\" width=\"95%\"\/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AT+FTMODE command is used to set up the FTP mode to be passive or active. With Online AT Command Tester tool, you can test Simcom HTTP feature. With Online AT Command Tester tool,send batch of AT commands in the script &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/atftpmode-set-ftp-for-active-or-passive-mode\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"atcommands.php","meta":{"footnotes":""},"class_list":["post-3464","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=3464"}],"version-history":[{"count":4,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3464\/revisions"}],"predecessor-version":[{"id":14533,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3464\/revisions\/14533"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=3464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}