FTPS in GL868

13 thoughts on “FTPS in GL868

  1. Hello,

     I am using GL868 dual modem. I have implemented simple ftp programming on it. Bt now I want to connect with FTPS (i.e. SSL/TLS auth-TLS Explicit, port-21).

    I have implemented following AT commands to make connection with TLS/SSL ftp server.

    1. AT#FTPCFG=100,0,1

    2. AT#SSLEN=1,1

    3. AT#SSLSECCFG=1,0,1/2

     

    I have tried to connect with my TLS/SSL ftp server using “CuteFTP” client software. Here I have mentioned server type as TLS/SSL Auth-TLS Explicit, having port no-21.

     

    It Works fine with software, bt using AT commands, it is not getting connected. 

    Plz help me. Guide me with list of at commands……

     

    Thanks in advance

     

      1. How to configure for certificate?

        AT#SSLSECDATA=1,0,0,0 is default setting. 

        I have tried configuring it as: AT#SSLSECDATA=1,1,1,2047. i.e. SSL socket in write mode as I want to write data on ftp server.

        I don’t have much knowledge about SSL…

        Now for FTPS what settings I need to make? 

        Could you plz explain with AT commands?

         

         

         

  2. Have you read the Telit SSl/TLS User Guide? It has a chapter dedicated to FTPS, with usage example including how to upload the certificate; where to find the certificate file depends of your FTP server.

    1. I have referred telit’s TLS/FTP manual. But how do I get detail of my ssl certificate?

      As explained in their example, I also tried to performed the same steps. But instead of getting certificate, i am getting error.

      I have also searched on google for ssl certificate. But I didn’t get something helpful.

       

      could u plz guide me for ssl certificate details??

      1. You must obtain the certificate file from your FTP server and upload to the GL868; you can export the certificate files from CuteFTP, see here.

        1. Thank you for ur support.

          I got my certificate details and I have tried every commands in step as they have mentioned in ftp with TLS example.

          when I run AT#SSLSECDATA=1,1,1,1223(as no. of bytes in certi are 1223) command, it gives me OK response. But when I try to read stored values using command AT#SSLSECDATA=1,2,1,1223 then it gives me response as #SSLSECDATA: 1,0,1,0.

          why it’s not giving me stored data? or is there any other command to read values?

          1. List of AT commands:

            1. AT#FTPCFG=100,0,1

            2. AT#SSLSECCFG=1,0,1

            3. AT#SSLSECDATA=1,1,1,1223

            4. AT#SSLCFG=1,1,1500,90,100,50

             

            my ssl certi type is PEM and its length is 1223 bytes.

  3. Hi,

    I am using Telit GL868Dual modem. I am using our company’s simple ftp server for data logging purpose; and everything works fine here.

    Now at our client side, they have their own simple ftp server. The same data logging module doesn’t work properly there. The problems are:

    1. Module gets connected to client’s ftp server using cmd “AT#FTPOPEN”

    2. It will create blank ftp file (for first time) using command “AT#FTPAPP=’filename’, 0” in online mode

    3. Then after it is not writing any data in that file.

    4. it is giving error: +cme error:606 (i.e. bad or no response from server)

    5. I have tried to upload one file from my local PC to client’s ftp server using “CuteFTP” software and it works fine.

    above mentioned same program works with our compan’s ftp server… so what is the problem with clien’s ftp server?

    Can any one help?

  4. Hi,

    I am using Telit GL868Dual modem. I am using our company’s simple ftp server for data logging purpose; and everything works fine here.

    Now at our client side, they have their own simple ftp server. The same data logging module doesn’t work properly there. The problems are:

    1. Module gets connected to client’s ftp server using cmd “AT#FTPOPEN”

    2. It will create blank ftp file (for first time) using command “AT#FTPAPP=’filename’, 0” in online mode

    3. Then after it is not writing any data in that file.

    4. it is giving error: +cme error:606 (i.e. bad or no response from server)

    5. I have tried to upload one file from my local PC to client’s ftp server using “CuteFTP” software and it works fine.

    above mentioned same program works with our compan’s ftp server… so what is the problem with clien’s ftp server?

    Can any one help?