Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Copy files on application server

Hi experts,

Currently I am working on copying files on an app server from directory/A to directory/tmp/B. Everything looks just like another Windows folder. I've been given full access to this folder. However, using cl_gui_frontend_services=>file_copy method doesn't work (sy-subrc = 5, access denied) and all FMs using this method won't work too. I used old FM "WS_FILE_COPY" and it works, but only with XML files, it has an error with PDF files.

Can you please tell me if there is a way to ommit that "Access denied" message or is there any simple FM or class method? I think I've used 10 or something, nothing helped...

Thanks for your help

Bartlomiej

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question