http test case changes

Dependencies:   ublox-cellular-driver-gen gnss ublox-cellular-base ublox-at-cellular-interface-ext

Revision:
14:f531abed3446
Parent:
12:1e1c58088143
Child:
20:3ca2d75614e6
--- a/main.cpp	Wed Jun 14 13:19:39 2017 +0000
+++ b/main.cpp	Fri Jun 16 00:57:47 2017 +0100
@@ -182,13 +182,16 @@
             pulseEvent();
              // Get a directory listing from the server
              if (interface->ftpCommand(UbloxATCellularInterfaceExt::FTP_LS,
-                                      NULL, NULL, 0, buf, sizeof (buf)) == NULL) {
+                                      NULL, NULL, buf, sizeof (buf)) == NULL) {
                 pulseEvent();
                 printf ("Directory listing of FTP server:\n"
                         "--------------------------------\n%s"
                         "--------------------------------\n", buf);
              }
-             // FTP GET a file known to be on test.rebex.net into the module file system
+             
+             // FTP GET a file known to be on test.rebex.net into the module file system,
+             // making sure it's not there to begin with
+             interface->delFile("readme.txt");
              if (interface->ftpCommand(UbloxATCellularInterfaceExt::FTP_GET_FILE, "readme.txt") == NULL) {
                 pulseEvent();
                 // Read the file from the module file system into buf