{"id":3859,"date":"2013-07-18T14:14:02","date_gmt":"2013-07-18T21:14:02","guid":{"rendered":"http:\/\/m2msupport.net\/m2msupport\/?page_id=3859"},"modified":"2013-11-11T06:16:53","modified_gmt":"2013-11-11T14:16:53","slug":"atftptype-ftp-type","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/atftptype-ftp-type\/","title":{"rendered":"AT+FTPTYPE &#8211; FTP Type"},"content":{"rendered":"<p>AT+FTPPORT command is used to set the data transfer type to binary or ascii.<\/p>\n<p>With <a href=\"http:\/\/m2msupport.net\/m2msupport\/module-tester\/\">Online AT Command Tester<\/a> tool, you can test Simcom FTP feature.<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/module-tester\/\"><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\/module-tester\/\">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\/module-tester\/\"><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+FTPPORT command is used to set the data transfer type to binary or ascii. With Online AT Command Tester tool, you can test Simcom FTP feature. With Online AT Command Tester tool,send batch of AT commands in the script mode &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/atftptype-ftp-type\/\">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-3859","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3859","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=3859"}],"version-history":[{"count":3,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3859\/revisions"}],"predecessor-version":[{"id":9487,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3859\/revisions\/9487"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=3859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}