Copying file from ssh server to mac? Ask Question Asked 7 years ago. Active 2 years, 5 months ago. Viewed 8k times 2. This question has been repeated many times and I know to copy a file from ssh server to mac I should follow this: Copy the file 'foobar.txt' from a remote host to the local host. Choose Safari→Preferences or press cmd+, (comma). Click the General tab, and then click the Save Downloaded Files To pop-up menu.
You can use transaction code CG3Z and CG3Y to upload and download files from operating system level directly on your SAP GUI. So, no need to use FTP to get or receive the files. Transaction code CG3Z is used for upload and transaction code CG3Y for download.
Below example will show on how to upload sapstart123.log file from my local desktop to OS level, usr/sap/SID/DVEBMGSXX/work via SAP. Execute transaction code CG3Z. Put the Source file on application server as /usr/sap/SID/DVEBMGSXX/work and Target file on front end as in your local desktop. Let the Transfer format for data as BIN. Press upload (or Shift+F2).
I’m going to download sapstart.log file from /usr/sap/SID/DVEBMGSXX/work directory. Execute transaction code CG3Y. Put the Source file on application server as /usr/sap/SID/DVEBMGSXX/work and Target file on front end as in your local desktop. Let the Transfer format for data as BIN. Press download (or Shift+F1)
Alternatively, you can use program CACS_FILE_COPY via transaction code SE38.
or using function module ARCHIVFILE_CLIENT_TO_SERVER (upload) and ARCHIVFILE_SERVER_TO_CLIENT (download) via transaction code SE37.