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: 

Regarding Downloding File fro C-Folder

ashutosh_singh2
Explorer
0 Kudos
142

Hi All-

I have a requirement to download a File From C-Folder.

At starting time I have only Folder name.After that user want to download all the Files from that Folder.

I am using Function Module CFX_API_DOC_DOCUMENT_READ

But throgh this i am getting only content of that File not able to Download.

So please help me regarding that.

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos
68

Hello,

You can use the Class CL_GUI_FRONT_END_SERVICES and the method DIRECTORY_LIST_FILES to show the files. This is the First Step. If the directory name is already known, then you can use the method FILE_OPEN_DIALOG to show up all the files and choose the files that you want to download.

Regards,

Venkata Phani Prasad K

3 REPLIES 3

Former Member
0 Kudos
69

Hello,

You can use the Class CL_GUI_FRONT_END_SERVICES and the method DIRECTORY_LIST_FILES to show the files. This is the First Step. If the directory name is already known, then you can use the method FILE_OPEN_DIALOG to show up all the files and choose the files that you want to download.

Regards,

Venkata Phani Prasad K

0 Kudos
68

HI-

Thanks For the quick response , but my requirement is to download a File from C-Folder not from frontend GUI.

Former Member
0 Kudos
68

You can also use method FILE_COPY of the same class to do the actual copying