Skip to Content

how to put // infront of file name in SAP SFTP receiver adapater


How can we put double forward slashes(//) in front of the file name in receiver SAP SFTP adapter? The receiving SFTP server is based on mainframe with VMS  and for some reason the receiver system wants to have // in front of the file name.

I tried with all options of put // in the directory or part of the file name parameters in the channel,but I get following error.

Transmitting the message to endpoint <local> using connection SFTP_ failed, due to: javax.resource.ResourceException: 4: Putting ./'//TESTFILENAME' failed.

please let me know,if there is a work around for this requirement.

thank you,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 30, 2014 at 08:21 PM

    Usually filename schema will not allow you to put special characters. Please refer this link for restricts. Filename - Wikipedia, the free encyclopedia

    You may also try Run Operating System Command option to execute Unix script to add '//'

    Could you please let me know the file type ?

    Add comment
    10|10000 characters needed characters exceeded

    • File type is binary and I am thinking of using script to rename put // as part of file name.Some reason VMS/VAX systems have different file name schems than common OS like Window,Unix etc.