Skip to main content

Download / upload server file

With this function you can transfer files between the SAP application server and your computer.

"Download" is for transferring a file from the SAP application server to your computer, "Upload" is for transferring a file from your computer to the SAP application server.

Regarding the server file the notification according to the OS of the SAP application server has to be considered. On Unix systems the path separator is a slash ("/"), on Windows system it is a back slash ("\"). There is a support for typically used directories on the SAP application server DIR_TEMP, DIR_HOME and DIR_TRANS. You can use placeholders <DIR_TEMP>, <DIR_HOME> and <DIR_TRANS> which will be replaced by the absolute path names. Example: <DIR_TEMP>TCURR_r3trans.bin will be replaced with /tmp/TCURR_r3trans.bin (assuming that value "/tmp" is given for DIR_TEMP).

Depending on the direction of the file transfer you have several options.

"Download":

- You can specify whether an already existing file on your computer should be appended.
- You can specify whether a file should be splitted into single files on your computer. This might be useful for dealing with huge files. For the upload the splitted files will be concatenated to one huge file again on the SAP application server.

"Upload":

- You can specify whether an already existing file on the SAP application server should be overwritten. In case the target file already exists and you do not set a flag in this field no upload will be done.
- You can specify whether an already existing file on the SAP application server should be appended.

In every case the "transfer mode" has to be specified.

Using 'BIN' (binary) will transfer the file without any conversion.

Using 'ASC' (ASCII) will transfer the file using a character conversion dependent of the character sets of the SAP application server and the computer. For example the line feed could be adjusted (on Unix system there is a 1 character line feed, on Windows computers there is a 2 characters line feed).

This function is also in the command line tool available.

####