I am new to esp8266 module. I want to download file from sftp server. How can I connect to sftp server to download file? I tried using following command AT+CIPSTART="TCP","demo@test.rebex.net",22 but the response of this command is always DNS FAIL. Can anyone guide how to proceed and AT commands which I should use to download or upload from sftp server. Thanks
Ok I have realised my mistake the command should be AT+CIPSTART="TCP","test.rebex.net",22 and using I am able to make a tcp connection to sftp server but now how should I proceed further? Is their any example of sftp protocol using esp8266 module?
sftp server using esp8266
Re: sftp server using esp8266
Postby pratik » Fri Jan 20, 2017 1:54 pm
http://www.tecmint.com/sftp-command-examples/
Here is a good point to start figuring out how to issue commands and parse the incoming data. You should always start with command line tools when trying to figure out how to work on the protocol level. After this, you may directly use AT commands to do what you did on the terminal.
And at the moment, I don't recall any previous implementations of SFTP directly with ESP8266 AT firmware. But you should be able to use a standard SFTP library with its hardware level functions modified to use ESP AT commands.
Here is a good point to start figuring out how to issue commands and parse the incoming data. You should always start with command line tools when trying to figure out how to work on the protocol level. After this, you may directly use AT commands to do what you did on the terminal.
And at the moment, I don't recall any previous implementations of SFTP directly with ESP8266 AT firmware. But you should be able to use a standard SFTP library with its hardware level functions modified to use ESP AT commands.
Who is online
Users browsing this forum: No registered users and 2 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.