Application Development and Automation 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: 
Read only

GUI_REFUSE_FILETRANSFER error on GUI_UPLOAD

Former Member
3,361

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

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
2,184

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

Read only

0 Likes
2,184

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

Read only

Bourbon
Newcomer
0 Likes
1,960

I know this is an old thread, but was there a resolution to the issue of GUI_REFUSE_FILETRANSFER? I am encountering the same issue.

Read only

0 Likes
1,885

> I know this is an old thread

Could you please open a new question and refer to this post?