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

FTP-Transfer - CCSID-Problem



   Hello
   I use attached program bsr020 to transfer files from one IBM i to
   another. I have two file, both with CCSID 1208 (UTF-8). The files are
   transferred to the target system and place in the receiving directory.
   But here they are tagged with CCSID 437.
   The program bsr100 just makes a dsply of the received parameter.
   If I use to commend dspf to look at the contents of the files, it looks
   allright. But the three first bytes seems to be the UTF-8
   ByteOrderMark, x'EFBBBF'.
   I cannot find the reason for that. Can you help me?
   Here comes the joblog:
   call bsr020
   1-: FTPAPI version 3.0beta1 released on 2010-02-21
   99-: Connecting to host chwemag2 at address 192.168.80.11 using port
   21.
   0: 220-QTCP at CHWEMAG2.WEMAG.CH.
   0: 220 Connection will close if idle more than 5 minutes.
   0: > USER jgv
   0: 331 Enter password.
   0: > PASS **********
   0: 230 JGV logged on.
    0: > CWD /edi/export/orders
    0: 250-NAMEFMT set to 1.
    0: 250 "/edi/export/orders" is current directory.
    0: > TYPE A
    0: 200 Representation type is ASCII nonprint.
    0: > PORT 192,168,80,10,101,215
    0: 200 PORT subcommand request successful.
    0: > NLST
    0: 125 List started.
    0: 250 List completed.
    0: > TYPE I
    0: 200 Representation type is binary IMAGE.
    0: > PORT 192,168,80,10,63,255
    0: 200 PORT subcommand request successful.
     0: > RETR 120918 order_3247_3247_3
   0: 150 Retrieving file /edi/export/orders/120918 order_3247_3247_3
   0: 226 File transfer completed successfully.
   DSPLY  bsr100*/jgvtmp/BShop/import/120918 order_3247_3*
   0: > TYPE I
   0: 200 Representation type is binary IMAGE.
   0: > PORT 192,168,80,10,89,247
   0: 200 PORT subcommand request successful.
   0: > RETR 120917 oder_3247_3247_2
   0: 150 Retrieving file /edi/export/orders/120917 oder_3247_3247_2
   0: 226 File transfer completed successfully.
   DSPLY  bsr100*/jgvtmp/BShop/import/120917 oder_3247_32*
   0: > QUIT
   0: 221 QUIT subcommand received.
   Thank you very much in advance.
   Best regards
   Jan





-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------