Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

GUI_REFUSE_FILETRANSFER error on GUI_UPLOAD

Former Member

When using cl_gui_frontend_services=>gui_upload to access a file on our network I get error=4 returned which says "GUI_REFUSE_FILETRANSFER" but I am unable to determine what this error means.

With all the other error types I think I can understand most but not this one.

FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.

It's not an access denied error or file open error. Not an auth error. So what could this error mean?

Thanks,

Matt

2 REPLIES 2

raymond_giuseppi
Active Contributor

In which context do you execute the method (If I remember internal ERROR_NO_GUI and NOT_SUPPORTED_BY_GUI from FILE_EXIST can raise this error) could you try to call method FILE_EXIST yourself before calling the GUI_UPLOAD?

Regards,
Raymond

0 Kudos

Hi Raymond,

I am also facing the same error. Could you please enlighten what the error means ? Could it be that the path was wrongly entered?

Thanks and Regards,

Aditya