‎2009 Mar 24 4:21 AM
Hi Experts,
i need to know how to transfer Binary files from application server to presentation server...
does it have any function module???
i hav use this Function Module 'DX_FILE_COPY'...
but it transfers only normal ".txt" files......
Thanks,
kassim
‎2009 Mar 24 4:24 AM
‎2009 Mar 24 8:22 AM
Hi,
I have searched the net and found something interesting that i think might solve your problem:
FM 'C13Z_APPL_TO_FRONT_END ' if present downloads binary files from the application server to the presentations server. It will show you a popup (which file to download and where to put it, including
the type of file) and when you click on the download button it will call function module C13Z_FILE_DOWNLOAD_BINARY, this will call (in the end) WS_DOWNLOAD.
FM 'C13Z_FILE_DOWNLOAD_BINARY' can show you how to write your own function, replacing WS_DOWNLOD with GUI_DOWNLOAD as WS_DOWNLOAD is obselete.
FM LIKE:
C13Z_FILE_DOWNLOAD_ASCII - Downloads a file in ASCII format
C13Z_FILE_DOWNLOAD_BINARY - Downloads a file in binary format
C13Z_FILE_UPLOAD_ASCII - Uploads a file in ASCII format
C13Z_FILE_UPLOAD_BINARY - Uploads a file in binary format \
I think above FM will definetly useful for you.
Pooja