Skip to Content
author's profile photo Former Member
Former Member

SAPFTP 46D_EXT2 on SAP 4.6C not transferring all files

Hi experts,

I have a rare issue in using sapftp on 4.6D EXT2 release used by a SAP 4.6C system non-unicode.

Database is Oracle and OS is Linux SLES 11 SP1.

The problem with this is that when I am using this sapftp to connect to other servers and transferring files, not all transfers are

successful. I am getting a segfault error or connection error for some of the transfers that are not successful.

The amount of files transferred will not matter whether it may be 10 documents, 100 documents, or 500 documents. The transfer will fail for some but will proceed with the others randomly.

The sapftp version is:

./sapftp -V

SAPFTP Non-Unicode

@(#) $Id: //bas/46D/src/krn/ftp/ftpmain.c#32 $ SAP

@(#) $Id: //bas/46D/src/krn/ftp/ftp.c#26 $ SAP

@(#) $Id: //bas/46D/src/krn/ftp/ftpcmd.c#23 $ SAP

SAP release: 46D SAP release no: 4640

However, when we make use of sapftp of a higher release, in particular 720_EXT.

SAPFTP Non-Unicode

@(#) $Id: //bas/720_REL/src/krn/ftp/ftpmain.c#13 $ SAP

@(#) $Id: //bas/720_REL/src/krn/ftp/ftp.c#2 $ SAP

@(#) $Id: //bas/720_REL/src/krn/ftp/ftpcmd.c#4 $ SAP

SAP release: 720 SAP release no: 7200

The issue no longer exists and that all file transfers becomes successful.

Please note that we have enabled sapftp.ini to enable passive mode by default.

When checking the OS logs as well in /var/logs/messages we can see some

notable memory issues in sapftp when using kernel 46D of sapftp.

Jan 22 18:43:55 panerp02 kernel: [2117422.856997] sapftp[19152]:

segfault at f67a4394 ip 00007f85f64da27e sp 00007fff96de4400 error 4 in[7f85f6447000+154000]

Jan 22 18:43:55 panerp02 kernel: [2117422.874678] sapftp[19153]:

segfault at ff0c5394 ip 00007f8afedfb27e sp 00007fff7f0794e0 error 4 in[7f8afed68000+154000]

Jan 22 18:43:55 panerp02 kernel: [2117422.892042] sapftp[19154]:

segfault at ab0bc394 ip 00007f66aadf227e sp 00007fff74c1f5b0 error 4 in[7f66aad5f000+154000]

Jan 22 18:44:10 panerp02 kernel: [2117438.415828] sapftp[19186]:

segfault at e483394 ip 00007f450e1b927e sp 00007fff5477cef0 error 4 in[7f450e126000+154000]

Jan 22 18:44:10 panerp02 kernel: [2117438.431445] sapftp[19187]:

segfault at 4de21394 ip 00007f694db5727e sp 00007fff56d2cae0 error 4 in[7f694dac4000+154000]

Jan 22 18:44:10 panerp02 kernel: [2117438.454980] sapftp[19188]:

segfault at d108f394 ip 00007fc8d0dc527e sp 00007fffc251cb10 error 4 in[7fc8d0d32000+154000]

Jan 22 18:44:10 panerp02 kernel: [2117438.475516] sapftp[19189]:

segfault at e97f8394 ip 00007fdde952e27e sp 00007fffcae3f710 error 4 in[7fdde949b000+154000]

Jan 22 18:50:26 panerp02 kernel: [2117813.602789] sapftp[30993]:

segfault at ab57c0 ip 00000000005330d9 sp 00007fffdad45370 error 4 in


For both sapftp release on 46D_EXT2 and 720_EXT, we tested sample

connections using RSFTP002 and RSFTP003 and both are successfully

tested. Just that when transferring many files, the sapftp of kernel

46D_EXT2 fails at some point and not all files are being transferred as

a result.

I need to know if possible to use sapftp of a higher release on SAP 4.6C system and if any other solution or investigation points to check on this issue?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2014 at 03:49 AM

    Hi Jonathan

    From the looks and description of the issue , there should be no problem to use the higher SAPFTP version .

    Will search for any docs relevant to the issue and let you know.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Just an update for those that may encounter the issue:

      SAP Active Global Support has confirmed that since there is no issue in using SAPFTP from a higher kernel version, then it is okay to use this on 4.6D EXT2 SAP Kernel.


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.