Skip to Content
1

GUI_REFUSE_FILETRANSFER error on GUI_UPLOAD

Jan 09, 2017 at 09:47 PM

243

avatar image
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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Jan 10, 2017 at 08:40 AM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0