[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ftpapi] RECVCHUNK error



Hi,

 

Using HTTP_URL_GET_RAW I’ve adjusted my program to use xlatedyn because of the size of data. However I now get “recvchunk: saveproc: Not all data was written” error.

 

Have attached copy of the program and also the debug dump.

 

Regards

 

tonyletterhead2

 

ÿþ  5761WDS V7R1M0  100416                  SEU SOURCE LISTING                            22/05/18 12:41:04    DKYATTS      PAGE    1

  SOURCE FILE . . . . . . .  PMUPLIB/QRPGLESRC

  MEMBER  . . . . . . . . .  BIGORDERS

  SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0

    100      H DFTNAME(BIGORDERS) DATEDIT(*DMY)                                                                         22/05/18

    200       /TITLE  BIGORDERS  Obtain the latest Orders from Big Commerce                                             07/02/18

    300       ********************************************************************                                      07/07/16

    400       *                Obtain the latest Orders from Big Commerce        *                                      07/02/18

    500       *                                                                  *                                      07/07/16

    600       *  Program......:  BIGORDERS                                       *                                      07/02/18

    700       *                                                                  *                                      07/07/16

    800       *  Programmer...:  Tony Cesarios                                   *                                      07/07/16

    900       *                                                                  *                                      11/07/16

   1000       ********************************************************************                                      07/07/16

   1100       *                    MAINTENANCE PERFORMED.                        *                                      07/07/16

   1200       *                    ----------------------                        *                                      07/07/16

   1300       *                                                                  *                                      07/07/16

   1400       * SPR NO.  NAME.       DATE.       DESCRIPTION OF CHANGES.         *                                      07/07/16

   1500       * -------  ----------- --------    ------------------------------  *                                      07/07/16

   1600       *  nnnnn   xxxxxxxx    xx/xx/xx    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx   *                                      07/07/16

   1700       *                                  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx   *                                      07/07/16

   1800       *                                                                  *                                      07/07/16

   1900       ********************************************************************                                      07/07/16

   2000                                                                                                                 08/07/16

   2100       /copy pextcd2/qsrc,pxapihdr      General H-Spec's                                                         22/05/18

   2200                                                                                                                 22/05/18

   2300      FBIGCOMMAUTIF   E             DISK                                                                         15/08/16

   2400                                                                                                                 22/05/18

   2500       * powerEXT Service Program Connector                                                                      22/05/18

   2600       /copy pextcd2/qsrc,pxapicgicn    Basic HTTP connecter & Productivity Services                             22/05/18

   2700       /copy pextcd2/qsrc,pxapijsncn    YAJL JSON connector                                                      22/05/18

   2800                                                                                                                 22/05/18

   2900       * Support for HTTPAPI by Scott Klement                                                                    15/08/16

   3000       /copy qrpglesrc,httpapi_h                                                                                 15/08/16

   3100                                                                                                                 15/08/16

   3200       * Receiving Data Procedure                                                                                22/05/18

   3300                                                                                                                 22/05/18

   3400      D receiveProc     PR            10I 0                                                                      22/05/18

   3500      D  fd                           10I 0 Value                                                                22/05/18

   3600      D  data                           *   Value                                                                22/05/18

   3700      D  length                       10I 0 Value                                                                22/05/18

   3800                                                                                                                 22/05/18

   3900      D receiveBuffer   Ds                  Qualified                                                            22/05/18

   4000      D  size                         10I 0 Inz                                                                  22/05/18

   4100      D  data                      32767A   Inz                                                                  22/05/18

   4200                                                                                                                 22/05/18

   4300      D sizeEbcdic      S             10I 0                                                                      22/05/18

   4400      D ebcdic          S                   Like(receiveBuffer.data)                                             22/05/18

   4500      D                                     Based(pEbcdic)                                                       22/05/18

   4600                                                                                                                 22/05/18

   4700       * Set Header Data Procedure                                                                               15/08/16

   4800                                                                                                                 15/08/16

   4900      D SetHeader       Pr                                                                                       15/08/16

   5000      D  HeaderData                 1024A   Varying                                                              15/08/16

   5100                                                                                                                 15/08/16

   5200       * Declare Internal Variables                                                                              15/08/16

   5300                                                                                                                 15/08/16

  5761WDS V7R1M0  100416                  SEU SOURCE LISTING                            22/05/18 12:41:04    DKYATTS      PAGE    2

  SOURCE FILE . . . . . . .  PMUPLIB/QRPGLESRC

  MEMBER  . . . . . . . . .  BIGORDERS

  SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0

   5400      D In_Dealer       S             10A                                                                        15/08/16

   5500      D In_Type         S              3A                                                                        15/08/16

   5600      D In_Date         S              8A                                                                        15/08/16

   5700      D In_Time         S              6A                                                                        15/08/16

   5800                                                                                                                 15/08/16

   5900      D OrdCnt          S              7S 0                                                                      15/08/16

   6000                                                                                                                 16/08/16

   6100      D USId            S             10A                                                                        16/08/16

   6200      D Pass            S             70A                                                                        16/08/16

   6300                                                                                                                 15/08/16

   6400      D O_Date          S              8S 0                                                                      15/08/16

   6500      D O_Time          S              6S 0                                                                      15/08/16

   6600                                                                                                                 15/08/16

   6700      D Dsp             S             50A                                                                        15/08/16

   6800      D DspWait         S              1A                                                                        15/08/16

   6900                                                                                                                 15/08/16

   7000      D Rc              S             10I 0                                                                      15/08/16

   7100      D S               S             10I 0                                                                      22/05/18

   7200      D I               S             10I 0                                                                      22/05/18

   7300                                                                                                                 15/08/16

   7400      D MsgError        S            100A                                                                        15/08/16

   7500                                                                                                                 15/08/16

   7600      D CRLF            C                   Const(x'0D25')                                                       15/08/16

   7700                                                                                                                 15/08/16

   7800      D Url             S           2048A   Varying                                                              15/08/16

   7900                                                                                                                 15/08/16

   8000      d jsonAddr        S               *                                                                        15/08/16

   8100      d jsonSize        S             10u 0                                                                      15/08/16

   8200       *                                                                                                         15/08/16

   8300       * Scanning Field definitions                                                                              15/08/16

   8400       *                                                                                                         15/08/16

   8500      D Message         S             12A   Inz('{"message":"')                                                  15/08/16

   8600      D CrdAvl          S             18A   Inz('"creditAvailable":')                                            15/08/16

   8700      D ExpDate         S             14A   Inz(',"expiryDate":')                                                15/08/16

   8800      D CrdSupd         S             19A   Inz(',"creditSuspended":')                                           15/08/16

   8900      D SupdRCod        S             23A   Inz(',"suspendedReasonCode":')                                       15/08/16

   9000      D SupdRDsc        S             30A   Inz(',"suspendedReasonDescription":')                                15/08/16

   9100       *                                                                                                         15/08/16

   9200       * Scanning length definitions                                                                             15/08/16

   9300       *                                                                                                         15/08/16

   9400      D SPos            S              5P 0                                                                      15/08/16

   9500      D EPos            S              5P 0                                                                      15/08/16

   9600      D End             S              5P 0                                                                      15/08/16

   9700      D Len             S              5S 0                                                                      22/05/18

   9800       *                                                                                                         15/08/16

   9900       * Scanning Work Fields                                                                                    15/08/16

  10000       *                                                                                                         15/08/16

  10100      D ExpDate@        S             10A                                                                        15/08/16

  10200      D ExpDateA        S              8A                                                                        15/08/16

  10300      D CrdSupd@        S              5A                                                                        15/08/16

  10400      D SupdRCod@       S             20A                                                                        15/08/16

  10500      D SupdRDsc@       S             50A                                                                        15/08/16

  10600       *                                                                                                         15/08/16

  5761WDS V7R1M0  100416                  SEU SOURCE LISTING                            22/05/18 12:41:04    DKYATTS      PAGE    3

  SOURCE FILE . . . . . . .  PMUPLIB/QRPGLESRC

  MEMBER  . . . . . . . . .  BIGORDERS

  SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0

  10700       * Work Fields for numeric field manipulation                                                              15/08/16

  10800       *                                                                                                         15/08/16

  10900      D Number          S             11A                                                                        15/08/16

  11000      D IVal            S              1A   Dim(11)                                                              15/08/16

  11100      D St              S              2S 0                                                                      22/05/18

  11200      D X               S              2S 0                                                                      15/08/16

  11300      D L               S              2S 0                                                                      15/08/16

  11400      D ValN            S             11A                                                                        15/08/16

  11500       /Eject                                                                                                    15/08/16

  11600       *                                                                                                         15/08/16

  11700       * Obtain Authority Id and Token                                                                           15/08/16

  11800       *                                                                                                         15/08/16

  11900      C                   Read      BigAut                                 99                                    15/08/16

  12000      C                   If        *In99                                                                        15/08/16

  12100      C                   Eval      *InLr = *On                                                                  15/08/16

  12200      C                   Return                                                                                 15/08/16

  12300      C                   EndIf                                                                                  15/08/16

  12400                                                                                                                 19/04/18

  12500      C                   Eval      Url = 'https://store-l3wxicl7.mybigcommerce.+                                19/04/18

  12600      C                                   com/api/v2/orders?status_id=11'                                        19/04/18

  12700                                                                                                                 15/08/16

  12800       /free                                                                                                     15/08/16

  12900                                                                                                                 15/08/16

  13000        // Clear powerEXT Service Program & Responce Object                                                      15/08/16

  13100        ClearSrvPgm();                                                                                           15/08/16

  13200                                                                                                                 15/08/16

  13300        // Setup Header with Authorization Token                                                                 15/08/16

  13400                                                                                                                 15/08/16

  13500        // Http_XProc( HTTP_POINT_ADDL_HEADER : %PAddr(SetHeader));                                              15/08/16

  13600           ExSr UserPass;                                                                                        16/08/16

  13700                                                                                                                 15/08/16

  13800        // Setup HTTPAPI Url and parms                                                                           15/08/16

  13900                                                                                                                 15/08/16

  14000        HTTP_Debug(*On : '/tmp/bigorders.txt');                                                                  07/02/18

  14100                                                                                                                 15/08/16

  14200        HTTP_SetCCSIDs(1208:0);                                                                                  15/08/16

  14300        HTTP_SetFileCCSID(1208);                                                                                 07/02/18

  14400                                                                                                                 15/08/16

  14500        // Send HTTPAPI Request                                                                                  15/08/16

  14600        Rc = Http_Url_Get_Raw( url                                                                               15/08/16

  14700                          : 1                                                                                    15/08/16

  14800                          : %PAddr(receiveProc));                                                                22/05/18

  14900                                                                                                                 15/08/16

  15000        // HTTPAPI Error Handling                                                                                15/08/16

  15100        If Rc <> 1;                                                                                              15/08/16

  15200          MsgError = http_error;                                                                                 15/08/16

  15300          *InLr = *On;                                                                                           15/08/16

  15400          Return;                                                                                                15/08/16

  15500        EndIf;                                                                                                   15/08/16

  15600                                                                                                                 15/08/16

  15700        // Convert the data we just received to EBCDIC                                                           15/08/16

  15800                                                                                                                 22/05/18

  15900        sizeEbcdic =                                                                                             22/05/18

  5761WDS V7R1M0  100416                  SEU SOURCE LISTING                            22/05/18 12:41:04    DKYATTS      PAGE    4

  SOURCE FILE . . . . . . .  PMUPLIB/QRPGLESRC

  MEMBER  . . . . . . . . .  BIGORDERS

  SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0

  16000           HTTP_xlatedyn(receiveBuffer.size: %addr(receiveBuffer.data)                                           22/05/18

  16100                        : TO_EBCDIC: pEbcdic);                                                                   22/05/18

  16200                                                                                                                 22/05/18

  16300           receiveBuffer.data = %SubSt(ebcdic: 1: sizeEbcdic);                                                   22/05/18

  16400                                                                                                                 22/05/18

  16500           receiveBuffer.size = sizeEbcdic;                                                                      22/05/18

  16600                                                                                                                 22/05/18

  16700           dealloc(n) pEbcdic;                                                                                   22/05/18

  16800                                                                                                                 15/08/16

  16900       /end-free                                                                                                 15/08/16

  17000       *                                                                                                         15/08/16

  17100       * Obtain Response Fields                                                                                  15/08/16

  17200       *                                                                                                         15/08/16

  17300                                                                                                                 15/08/16

  17400                                                                                                                 15/08/16

  17500      C                   Eval      *InLr = *On                                                                  15/08/16

  17600       *                                                                                                         15/08/16

  17700       ********************************************************************                                      15/08/16

  17800       /Eject                                                                                                    15/08/16

  17900       ********************************************************************                                      15/08/16

  18000       * DecNbrFmt - Reformat a decimal numeric field from data extracted *                                      15/08/16

  18100       ********************************************************************                                      15/08/16

  18200      C     DecNbrFmt     BegSr                                                                                  15/08/16

  18300                                                                                                                 15/08/16

  18400      C                   MoveA     *Zero         IVal                                                           15/08/16

  18500                                                                                                                 15/08/16

  18600      C                   Eval      SPos = %Scan('.' : Number)                                                   15/08/16

  18700                                                                                                                 15/08/16

  18800      C                   If        SPos = *Zero                                                                 15/08/16

  18900      C                   Eval      SPos = 9                                                                     15/08/16

  19000      C                   EndIf                                                                                  15/08/16

  19100                                                                                                                 15/08/16

  19200      C                   Eval      S = SPos + 2                                                                 15/08/16

  19300      C                   Eval      L = 11                                                                       15/08/16

  19400      C                   Eval      X = SPos + 2                                                                 15/08/16

  19500                                                                                                                 15/08/16

  19600                                                                                                                 15/08/16

  19700      C                   Do        X                                                                            15/08/16

  19800      C                   If        %SubSt(Number:S:1) <> '.'                                                    15/08/16

  19900      C                             and %SubSt(Number:S:1) <> ' '                                                15/08/16

  20000      C                   Eval      IVal(L) = %SubSt(Number:S:1)                                                 15/08/16

  20100      C                   Eval      L = L - 1                                                                    15/08/16

  20200      C                   EndIf                                                                                  15/08/16

  20300      C                   Eval      S = S - 1                                                                    15/08/16

  20400      C                   EndDo                                                                                  15/08/16

  20500                                                                                                                 15/08/16

  20600      C                   MoveA     IVal          ValN                                                           15/08/16

  20700                                                                                                                 15/08/16

  20800                                                                                                                 15/08/16

  20900      C                   EndSr                                                                                  15/08/16

  21000       *                                                                                                         15/08/16

  21100       ********************************************************************                                      15/08/16

  21200       /Eject                                                                                                    15/08/16

  5761WDS V7R1M0  100416                  SEU SOURCE LISTING                            22/05/18 12:41:04    DKYATTS      PAGE    5

  SOURCE FILE . . . . . . .  PMUPLIB/QRPGLESRC

  MEMBER  . . . . . . . . .  BIGORDERS

  SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0

  21300       ********************************************************************                                      16/08/16

  21400       * UserPass - Set Userid and Password                               *                                      16/08/16

  21500       ********************************************************************                                      16/08/16

  21600      C     UserPass      BegSr                                                                                  16/08/16

  21700                                                                                                                 16/08/16

  21800      C                   Eval      USId = BAUsId                                                                16/08/16

  21900      C                   Eval      Pass = BATokn                                                                16/08/16

  22000                                                                                                                 16/08/16

  22100      C                   CallP     Http_SetAuth(HTTP_AUTH_BASIC:                                                16/08/16

  22200      C                                         USID: PASS)                                                      16/08/16

  22300                                                                                                                 16/08/16

  22400      C                   EndSr                                                                                  16/08/16

  22500       *                                                                                                         16/08/16

  22600       ********************************************************************                                      16/08/16

  22700       /Eject                                                                                                    16/08/16

  22800       ********************************************************************                                      15/08/16

  22900       * receiveProc - Receives the data from the web service and stores  *                                      22/05/18

  23000       *               it into 'receiveBuffer'.                           *                                      22/05/18

  23100       ********************************************************************                                      22/05/18

  23200      P receiveProc     B                                                                                        22/05/18

  23300                                                                                                                 15/08/16

  23400      D                 PI            10I 0                                                                      22/05/18

  23500      D  fd                           10I 0 Value                                                                22/05/18

  23600      D  data                           *   Value                                                                22/05/18

  23700      D  length                       10I 0 Value                                                                22/05/18

  23800                                                                                                                 22/05/18

  23900      D inBuffer        S                   Like(receiveBuffer.data)                                             22/05/18

  24000      D                                     Based(data)                                                          22/05/18

  24100      D size            S             10I 0                                                                      22/05/18

  24200                                                                                                                 15/08/16

  24300       /Free                                                                                                     22/05/18

  24400                                                                                                                 22/05/18

  24500        If (receiveBuffer.size + length > %Len(receiveBuffer.data));                                             22/05/18

  24600           Size = %Len(receiveBuffer.data) - receiveBuffer.size;                                                 22/05/18

  24700        Else;                                                                                                    22/05/18

  24800           Size = Length;                                                                                        22/05/18

  24900        EndIf;                                                                                                   22/05/18

  25000                                                                                                                 22/05/18

  25100        %SubSt(receiveBuffer.data: receiveBuffer.size + 1: size) =                                               22/05/18

  25200             %SubSt(inBuffer: 1: size);                                                                          22/05/18

  25300                                                                                                                 22/05/18

  25400        receiveBuffer.size = receiveBuffer.size + size;                                                          22/05/18

  25500                                                                                                                 22/05/18

  25600        return size;                                                                                             22/05/18

  25700                                                                                                                 22/05/18

  25800       /End-Free                                                                                                 22/05/18

  25900                                                                                                                 15/08/16

  26000      P                 E                                                                                        15/08/16

  26100       *                                                                                                         15/08/16

  26200       ********************************************************************                                      15/08/16

  26300       /Eject                                                                                                    15/08/16

  26400       ********************************************************************                                      15/08/16

  26500       * SetHeader- This procedure will setup Header with Token details   *                                      15/08/16

  5761WDS V7R1M0  100416                  SEU SOURCE LISTING                            22/05/18 12:41:04    DKYATTS      PAGE    6

  SOURCE FILE . . . . . . .  PMUPLIB/QRPGLESRC

  MEMBER  . . . . . . . . .  BIGORDERS

  SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0

  26600       ********************************************************************                                      15/08/16

  26700      PSetHeader        B                                                                                        15/08/16

  26800                                                                                                                 15/08/16

  26900      D SetHeader       PI                                                                                       15/08/16

  27000      D  HeaderData                 1024A   Varying                                                              15/08/16

  27100                                                                                                                 15/08/16

  27200      D CRLF            C                   Const(x'0D25')                                                       15/08/16

  27300                                                                                                                 15/08/16

  27400      C                   Eval      HeaderData = 'Authorization: Bearer ' +                                      15/08/16

  27500      C                             '?auth-id=' +  %TrimR(BAUsid) +                                              16/08/16

  27600      C                             '&auth-token=' + %TrimR(BATokn) + CRLF                                       16/08/16

  27700                                                                                                                 15/08/16

  27800      P                 E                                                                                        15/08/16

  27900       *                                                                                                         15/08/16

  28000       ********************************************************************                                      15/08/16

  28100       /Eject                                                                                                    15/08/16

                                  * * * *  E N D  O F  S O U R C E  * * * *

HTTPAPI Ver 1.38 released 2017-10-09
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R1M0

New iconv() objects set, PostRem=1208. PostLoc=0. ProtRem=819. ProtLoc=0
File CCSID changed to 1208
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: DONKYATT.COM.AU
DNS server found: 192.168.219.51
Nagle's algorithm (TCP_NODELAY) disabled.
SNI hostname set to: store-l3wxicl7.mybigcommerce.com
-------------------------------------------------------------------------------------
Dump of server-side certificate information:
-------------------------------------------------------------------------------------
Cert Validation Code = 0
-----BEGIN CERTIFICATE-----
MIIGZTCCBU2gAwIBAgIQBnauIbazzKJVsy/KRxGfQzANBgkqhkiG9w0BAQsFADBw
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMS8wLQYDVQQDEyZEaWdpQ2VydCBTSEEyIEhpZ2ggQXNz
dXJhbmNlIFNlcnZlciBDQTAeFw0xNTA2MDQwMDAwMDBaFw0xODA5MDExMjAwMDBa
MHQxCzAJBgNVBAYTAkFVMRgwFgYDVQQIEw9OZXcgU291dGggV2FsZXMxDzANBgNV
BAcTBlVsdGltbzEcMBoGA1UEChMTQmlnY29tbWVyY2UgUHR5IEx0ZDEcMBoGA1UE
AwwTKi5teWJpZ2NvbW1lcmNlLmNvbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCC
AgoCggIBALwNZUeQiDivSWUVvkvQdOlzNS2qUuzaFSJmwu0izes+EDiOHmaReXdG
j8MmVV+x0+AP23disaxS+nzByiBQCpvAE5a3xmnXaa8C7LRTh88/xe1L5jNp5f+Z
U3A7Ne5Lnot8SVCDdiv7sU9awvkq8YgKuTqEcXbeGG3x+gp3Bwd6V/kLj2A4EnEd
stkmoMV/rdoUKm7mY3HdSTGxhtNXStNjRVbSekeDbGaFRdT7474YbrUOaHCKoGlr
hPw8CB0tHoUD7NIsXiPH1JFX+gB2gOhz4eY5ex3QQC+wUtNSxVy2/Z6J/Hb3MnxD
qPiTYMg/xxrnpG4FNMh5/Ahoo8Xo9hWCBDqNOEkYJq5gCO7YcEhBG4/2ZT3T/0Aq
vmvYJ3va+jDPiqoxiVrpQhD1XMitpV6jJ90G/xJI8riSNU5LMHdva+Y++tO33qLd
PKgIfCnIcsIJ4sMdBO1i1FzrSSrqfsn51GpZR6GxF62FuzzqjAXHSPnY9dRNgYR5
8KQnmhhP4sNNKjmevc0K0g1fLUMATzJYQQBDPaQgU1v9Xnoe6aXQcp36l57f6V+Y
83SWbs/E4c/KsVikgJ87AqF23bvSNxv/lm4Hofw9fHgCsHmw08y/Z/9dHG933IQe
jj/YNI0i7al4RXLReIeC1o9ZeUNdJIDVzjPODJMKCIQ0nwy6Xo6JAgMBAAGjggH1
MIIB8TAfBgNVHSMEGDAWgBRRaP+QrwIHdTzM2WVkYqISuFlyOzAdBgNVHQ4EFgQU
M2XK/HeALdjSdJj4XtIl7gAvRYYwMQYDVR0RBCowKIITKi5teWJpZ2NvbW1lcmNl
LmNvbYIRbXliaWdjb21tZXJjZS5jb20wDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQW
MBQGCCsGAQUFBwMBBggrBgEFBQcDAjB1BgNVHR8EbjBsMDSgMqAwhi5odHRwOi8v
Y3JsMy5kaWdpY2VydC5jb20vc2hhMi1oYS1zZXJ2ZXItZzQuY3JsMDSgMqAwhi5o
dHRwOi8vY3JsNC5kaWdpY2VydC5jb20vc2hhMi1oYS1zZXJ2ZXItZzQuY3JsMEIG
A1UdIAQ7MDkwNwYJYIZIAYb9bAEBMCowKAYIKwYBBQUHAgEWHGh0dHBzOi8vd3d3
LmRpZ2ljZXJ0LmNvbS9DUFMwgYMGCCsGAQUFBwEBBHcwdTAkBggrBgEFBQcwAYYY
aHR0cDovL29jc3AuZGlnaWNlcnQuY29tME0GCCsGAQUFBzAChkFodHRwOi8vY2Fj
ZXJ0cy5kaWdpY2VydC5jb20vRGlnaUNlcnRTSEEySGlnaEFzc3VyYW5jZVNlcnZl
ckNBLmNydDAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCgSRk5Ngtq
nulDd5Ogv4ylW9if5KHdQh2xW0K/egmGzLnqoFGN0xKsYHA2k7YN3KmHhSQzJx6b
eZr/9MpoRiOKFI50fObVueT8hg6pIqRJHLfDuj0rXCTQqQeBEb5paooSULbopZmX
EEJkmOSa4vHWpjOA3M+I+9x+sGJAkGLITt4uqB+qEFUIyuQaYtnNsCnDrxkrvzx2
557nNvdvv3EnDTdso6F6ZAZjYQfyl7rs2YAEWIMw5wgNr/i/NYsaqilYiW3nbddd
m7txDAM7MTMjqguh+cx0NmPQ+pHE6BYDRWG/v7oK31CYJ1nb+6KKoxKDcHl69hlB
iRwbz+n+UhUk
-----END CERTIFICATE-----
Serial Number: 06:76:AE:21:B6:B3:CC:A2:55:B3:2F:CA:47:11:9F:43
Common Name: *.mybigcommerce.com
Country: AU
State/Province: New South Wales
Locality: Ultimo
Org Unit: Bigcommerce Pty Ltd
Issuer CN: DigiCert SHA2 High Assurance Server CA
Issuer Country: US
Issuer Org: DigiCert Inc
Issuer Org Unit: www.digicert.com
Version: 3
not before: 20150604100000
Unknown Field: 10:00:00 04-06-2015
not after: 20180901220000
Unknown Field: 22:00:00 01-09-2018
pub key alg: 1.2.840.113549.1.1.11

Protocol Used: TLS Version 1.2
http_persist_get(): entered
http_persist_req(GET) entered.
http_long_ParseURL(): entered
http_long_ParseURL(): entered
do_oper(GET): entered
There are 0 cookies in the cache
GET /api/v2/orders?status_id=11 HTTP/1.1
Host: store-l3wxicl7.mybigcommerce.com
User-Agent: http-api/1.38
Authorization: Basic YWRtaW46N2E1MjViZTU4MjkxNTFhNDc4Yzg5NTdiODYxM2ZlNzZlNWY4NGJhNw==


recvresp(): entered
HTTP/1.1 200 OK
Server: openresty
Date: Tue, 22 May 2018 02:28:05 GMT
Content-Type: application/xml; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Last-Modified: Sun, 06 May 2018 17:21:05 +0000
X-Bc-Apilimit-Remaining: 2147483645
X-Bc-Store-Version: 7.6.0


SetError() #13: HTTP/1.1 200 OK
recvresp(): end with 200
recvdoc parms: chunked 0
header_load_cookies() entered
recvchunk(): entered
get_chunk_size(): entered
3edd

chunk size = 16093
get_chunk_size returned 16093
calling comm_blockread
<?xml version="1.0"?>
<orders><order><id>101</id><customer_id>1</customer_id><date_created>Sun, 15 Apr 2018 14:28:04 +0000</date_created><date_modified>Sun, 15 Apr 2018 14:28:05 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>354.3500</subtotal_ex_tax><subtotal_inc_tax>354.3500</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>0.0000</total_ex_tax><total_inc_tax>0.0000</total_inc_tax><total_tax>0.0000</total_tax><items_total>1</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.212.140.188</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>354.3500</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>fcaa7491-33e5-439c-9e84-07947916daf4</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/101/products.xml";>/orders/101/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/101/shippingaddresses.xml";>/orders/101/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/101/coupons.xml";>/orders/101/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>102</id><customer_id>1</customer_id><date_created>Sun, 15 Apr 2018 14:30:05 +0000</date_created><date_modified>Sun, 15 Apr 2018 14:30:05 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>388.3600</subtotal_ex_tax><subtotal_inc_tax>388.3600</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>388.3600</total_ex_tax><total_inc_tax>388.3600</total_inc_tax><total_tax>0.0000</total_tax><items_total>2</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.212.140.188</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>0.0000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>1274ed1c-514c-42d5-b4c5-518f560a2df0</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/102/products.xml";>/orders/102/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/102/shippingaddresses.xml";>/orders/102/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/102/coupons.xml";>/orders/102/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>103</id><customer_id>1</customer_id><date_created>Thu, 19 Apr 2018 00:45:47 +0000</date_created><date_modified>Thu, 19 Apr 2018 00:45:48 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>182.1000</subtotal_ex_tax><subtotal_inc_tax>182.1000</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>0.0000</total_ex_tax><total_inc_tax>0.0000</total_inc_tax><total_tax>0.0000</total_tax><items_total>2</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_a
comm_blockread returned 8192
calling comm_blockread
mount><ip_address>203.219.203.186</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>182.1000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>8f7b1784-86a5-41b4-89d7-ed474de274d5</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/103/products.xml";>/orders/103/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/103/shippingaddresses.xml";>/orders/103/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/103/coupons.xml";>/orders/103/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>104</id><customer_id>1</customer_id><date_created>Thu, 19 Apr 2018 00:46:44 +0000</date_created><date_modified>Thu, 19 Apr 2018 00:46:44 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>171.9400</subtotal_ex_tax><subtotal_inc_tax>171.9400</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>171.9400</total_ex_tax><total_inc_tax>171.9400</total_inc_tax><total_tax>0.0000</total_tax><items_total>2</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.219.203.186</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>0.0000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>49b1ce64-472d-46d3-9c57-221bbc6aa056</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/104/products.xml";>/orders/104/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/104/shippingaddresses.xml";>/orders/104/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/104/coupons.xml";>/orders/104/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>105</id><customer_id>1</customer_id><date_created>Thu, 19 Apr 2018 00:47:43 +0000</date_created><date_modified>Thu, 19 Apr 2018 00:47:43 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>181.9100</subtotal_ex_tax><subtotal_inc_tax>181.9100</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>181.9100</total_ex_tax><total_inc_tax>181.9100</total_inc_tax><total_tax>0.0000</total_tax><items_total>1</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.219.203.186</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>0.0000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>7220ce76-481b-421a-ad98-c01bb58c975c</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/105/products.xml";>/orders/105/products</link></products><shipping_addres
comm_blockread returned 7901


get_chunk_size(): entered
3ff8

chunk size = 16376
get_chunk_size returned 16376
calling comm_blockread
ses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/105/shippingaddresses.xml";>/orders/105/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/105/coupons.xml";>/orders/105/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>106</id><customer_id>1</customer_id><date_created>Thu, 19 Apr 2018 00:48:40 +0000</date_created><date_modified>Thu, 19 Apr 2018 00:48:40 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>1666.3500</subtotal_ex_tax><subtotal_inc_tax>1666.3500</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>1666.3500</total_ex_tax><total_inc_tax>1666.3500</total_inc_tax><total_tax>0.0000</total_tax><items_total>2</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.219.203.186</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>0.0000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>05ce9d14-b4fe-444f-adb4-582689f988bb</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/106/products.xml";>/orders/106/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/106/shippingaddresses.xml";>/orders/106/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/106/coupons.xml";>/orders/106/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>107</id><customer_id>1</customer_id><date_created>Thu, 19 Apr 2018 00:49:24 +0000</date_created><date_modified>Thu, 19 Apr 2018 00:49:25 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>460.3200</subtotal_ex_tax><subtotal_inc_tax>460.3200</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>460.3200</total_ex_tax><total_inc_tax>460.3200</total_inc_tax><total_tax>0.0000</total_tax><items_total>2</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.219.203.186</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>0.0000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>7d0fdf52-25be-47cb-8955-877501297bd8</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/107/products.xml";>/orders/107/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/107/shippingaddresses.xml";>/orders/107/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/107/coupons.xml";>/orders/107/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>108</id><customer_id>1</customer_id><date_created>Thu, 19 Apr 2018 00:50:24 +0000</date_created><date_modified>Thu, 19 Apr 2018 00:50:25 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>1343.3300</subtotal_ex_tax><subtotal_inc_tax>1343.3300</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_cla
comm_blockread returned 8192
calling comm_blockread
ss_id><total_ex_tax>1343.3300</total_ex_tax><total_inc_tax>1343.3300</total_inc_tax><total_tax>0.0000</total_tax><items_total>3</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.219.203.186</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>0.0000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>7e376e7e-7d9a-46b9-8636-1ab66d4c4818</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/108/products.xml";>/orders/108/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/108/shippingaddresses.xml";>/orders/108/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/108/coupons.xml";>/orders/108/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>109</id><customer_id>1</customer_id><date_created>Thu, 19 Apr 2018 00:51:12 +0000</date_created><date_modified>Thu, 19 Apr 2018 00:51:13 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>235.5400</subtotal_ex_tax><subtotal_inc_tax>235.5400</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>235.5400</total_ex_tax><total_inc_tax>235.5400</total_inc_tax><total_tax>0.0000</total_tax><items_total>2</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.219.203.186</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>0.0000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>9b526d52-15e1-409a-974c-71b5cebf87e4</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/109/products.xml";>/orders/109/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/109/shippingaddresses.xml";>/orders/109/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/109/coupons.xml";>/orders/109/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>110</id><customer_id>1</customer_id><date_created>Thu, 19 Apr 2018 00:52:11 +0000</date_created><date_modified>Thu, 19 Apr 2018 00:52:11 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>455.9600</subtotal_ex_tax><subtotal_inc_tax>455.9600</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>455.9600</total_ex_tax><total_inc_tax>455.9600</total_inc_tax><total_tax>0.0000</total_tax><items_total>4</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.219.203.186</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>0.0000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>0dc1dad4-0846-4d80-9818-2eade7e72c41</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><l
comm_blockread returned 8184


get_chunk_size(): entered
f50

chunk size = 3920
get_chunk_size returned 3920
calling comm_blockread
ink rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/110/products.xml";>/orders/110/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/110/shippingaddresses.xml";>/orders/110/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/110/coupons.xml";>/orders/110/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order><order><id>111</id><customer_id>1</customer_id><date_created>Sun, 06 May 2018 17:21:05 +0000</date_created><date_modified>Sun, 06 May 2018 17:21:05 +0000</date_modified><date_shipped/><status_id>11</status_id><status>Awaiting Fulfillment</status><subtotal_ex_tax>768.1500</subtotal_ex_tax><subtotal_inc_tax>768.1500</subtotal_inc_tax><subtotal_tax>0.0000</subtotal_tax><base_shipping_cost>0.0000</base_shipping_cost><shipping_cost_ex_tax>0.0000</shipping_cost_ex_tax><shipping_cost_inc_tax>0.0000</shipping_cost_inc_tax><shipping_cost_tax>0.0000</shipping_cost_tax><shipping_cost_tax_class_id>0</shipping_cost_tax_class_id><base_handling_cost>0.0000</base_handling_cost><handling_cost_ex_tax>0.0000</handling_cost_ex_tax><handling_cost_inc_tax>0.0000</handling_cost_inc_tax><handling_cost_tax>0.0000</handling_cost_tax><handling_cost_tax_class_id>0</handling_cost_tax_class_id><base_wrapping_cost>0.0000</base_wrapping_cost><wrapping_cost_ex_tax>0.0000</wrapping_cost_ex_tax><wrapping_cost_inc_tax>0.0000</wrapping_cost_inc_tax><wrapping_cost_tax>0.0000</wrapping_cost_tax><wrapping_cost_tax_class_id>0</wrapping_cost_tax_class_id><total_ex_tax>768.1500</total_ex_tax><total_inc_tax>768.1500</total_inc_tax><total_tax>0.0000</total_tax><items_total>12</items_total><items_shipped>0</items_shipped><payment_method/><payment_provider_id>NULL</payment_provider_id><payment_status/><refunded_amount>0.0000</refunded_amount><order_is_digital>false</order_is_digital><store_credit_amount>0.0000</store_credit_amount><gift_certificate_amount>0.0000</gift_certificate_amount><ip_address>203.212.140.188</ip_address><geoip_country>Australia</geoip_country><geoip_country_iso2>AU</geoip_country_iso2><currency_id>1</currency_id><currency_code>AUD</currency_code><currency_exchange_rate>1.0000000000</currency_exchange_rate><default_currency_id>1</default_currency_id><default_currency_code>AUD</default_currency_code><staff_notes/><customer_message/><discount_amount>0.0000</discount_amount><coupon_discount>0.0000</coupon_discount><shipping_address_count>1</shipping_address_count><is_deleted>false</is_deleted><ebay_order_id>0</ebay_order_id><cart_id>6202a53e-95eb-4c41-aa5f-4b2dde8febe5</cart_id><billing_address><first_name>Ananth</first_name><last_name>Selladoray</last_name><company>TestCompany</company><street_1>1 Test St</street_1><street_2/><city>Test</city><state>Victoria</state><zip>3000</zip><country>Australia</country><country_iso2>AU</country_iso2><phone/><email>ananth@xxxxxxxxxxxxxxxx</email><form_fields/></billing_address><is_email_opt_in>false</is_email_opt_in><credit_card_type>NULL</credit_card_type><order_source>manual</order_source><external_source>NULL</external_source><products><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/111/products.xml";>/orders/111/products</link></products><shipping_addresses><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/111/shippingaddresses.xml";>/orders/111/shippingaddresses</link></shipping_addresses><coupons><link rel="resource" href="https://store-l3wxicl7.mybigcommerce.com/api/v2/orders/111/coupons.xml";>/orders/111/coupons</link></coupons><external_id>NULL</external_id><external_merchant_id>NULL</external_merchant_id><custom_status>Awaiting Fulfillment</custom_status></order></orders>

comm_blockread returned 3920
SetError() #16: recvchunk: saveproc: Not all data was written!
http_close(): entered
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi