Skip to Content
avatar image
Former Member

GUI_REFUSE_FILETRANSFER error on GUI_UPLOAD

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 10, 2017 at 08:40 AM

    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

    Add comment
    10|10000 characters needed characters exceeded