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

FTP transfers garbled up






   Hi Mark,

   I've had same problems after FTP transfer.

   Actually it seems, in reality there is no problem. What you see is the
   language of your keyboard related.

   Using an english keyboad may be totaly different from what you see at
   a spanish keyboard.
   Espacially the special signs are different.


   Best regards,

   Herman Kox

     _________________________________________________________________

   Van: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx namens Nicolas Machado
   (Metodo S.A.)
   Verzonden: vr 8/14/2009 2:20
   Aan: HTTPAPI and FTPAPI Projects
   Onderwerp: Re: FTP transfers garbled up

   Hi Mark, I'm may be a little late on this thread.
   But I have som question that may be arrise a clue.
   You say that destination server "seems to be" linux/unix, mey be is a
   good
   idea to confirm that.
   you say that you use FTP_API to send files to several servers, and of
   course
   several files.
   Is this new case, a server where you never send a file allready ?
   Problem 1 and problem 2 occurs on this new ftp server, that you as/400
   connect ??
   Best Regards.
   Nicolas
   2009/8/10 Mark Smits <smits@xxxxxxxxxxxx>
   > We are using the FTP API to communicate with several FTP servers and
   never
   > encountered any problems. Until this one server which gives two
   different
   > problems. We are using ASCII mode to send over the files.
   >
   >
   > 1. Storing a file in the IFS, where the CCSID of the IFS file is
   1252.
   >  When FTP'ing this file, the contents gets garbled up. As if there
   has been
   > some kind of code page conversion. This only happens when using the
   API.
   > Doing a manual FTP (using the FTP command) from the iSeries to the
   server,
   > the file arrives intact.
   >
   > 2. Storing a member in a file. This file has CCSID 37. When FTP'ing
   a CR+LF
   > is translated into a LF. If I am not mistaken this is an "automatic
   > conversion" when using ASCII mode and one side is Unix and the other
   is PC
   > environment. But we never encountered this before and the strange
   thing is,
   > that FTP'ing manual from the iSeries this translation is not
   happening.
   >
   > In both cases the FTP API seems to do some stuff that manual FTP
   isn't. And
   > as stated before, we never saw these problems with other servers.
   And we do
   > exactly the same when communicating to those other servers.
   >
   > Any ideas of what might be wrong ?
   >
   >
   > Vriendelijke groet / Kind regards,
   >
   > Mark Smits
   > Com-Unit BV, The Netherlands
   > The makers of Spider-Road
   >
   > Tel. : +31 (0) 20 612 6856
   > Email: Smits@xxxxxxxxxxxx
   > WWW  : www.com-unit.com
   >
   ----------------------------------------------------------------------
   -
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > [1]http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   ----------------------------------------------------------------------
   -
   >
   --
   Nicolás Machado



   Disclaimer
   Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend
   bestemd voor de geadresseerde. Indien u niet de bedoelde ontvanger
   bent, wordt u verzocht de afzender te waarschuwen en dit bericht met
   eventuele bijlagen direct te verwijderen en/of te vernietigen. Het is
   niet toegestaan dit bericht en eventuele bijlagen te vermenigvuldigen,
   door te sturen, openbaar te maken, op te slaan of op andere wijze te
   gebruiken. Ordina N.V. en/of haar groepsmaatschappijen accepteren geen
   verantwoordelijkheid of aansprakelijkheid voor schade die voortvloeit
   uit de inhoud en/of de verzending van dit bericht.
   This e-mail and any attachments are confidential and are solely
   intended for the addressee. If you are not the intended recipient,
   please notify the sender and delete and/or destroy this message and
   any attachments immediately. It is prohibited to copy, to distribute,
   to disclose or to use this e-mail and any attachments in any other
   way. Ordina N.V. and/or its group companies do not accept any
   responsibility nor liability for any damage resulting from the content
   of and/or the transmission of this message.

References

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