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: 

Get file length and file content in server side file

Former Member
0 Kudos

Hi experts,

I used GUI_UPLOAD function module to upload file in local machine to SAP server. In GUI_UPLOAD function module I can get export parameter FILELENGTH and tables DATA_TAB. So if a file locate in server side, how can I get its length and content?

Thanks for any help!!!

1 ACCEPTED SOLUTION

FredericGirod
Active Contributor
0 Kudos

GUI_DOWNLOAD ???

Fred

3 REPLIES 3

FredericGirod
Active Contributor
0 Kudos

GUI_DOWNLOAD ???

Fred

0 Kudos

Thanks Fred. My fool.

Jelena
Active Contributor
0 Kudos

In one program I used FM RZL_READ_DIR_LOCAL to get a list of files in a directory on application server. This FM is somewhat shady, but I couldn't find anything better (actually nothing else at all). It returns the file names and size for a directory name.