cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy paste AL11 Temp Dir file to secured FTP

anubhav_kumar2
Explorer
0 Kudos

Hello

I have found many threads where the programs are mentioned that read and copy FTP server file to DIR TEMP in AL11.

However, is it possible to move AL11 file to secured FTP server?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182516
Active Contributor
0 Kudos

Hi Anubhav,

Yes, Its possible to move the files from AL11 to FTP.

Check the FM "EPS_GET_DIRECTORY_LISTING" --> Pass the parameter "Directory Path".


This will place the file in the specified source path (FTP).


Regards

KP

anubhav_kumar2
Explorer
0 Kudos

Hello Prashanth

It requires a destination to be set up in SM59.

former_member182516
Active Contributor
0 Kudos

Hi ANubhav,

Yes RFC need to be maintained between SAP directory and the FTP server.Check with BASIS team on this.If you want to download and place them manually to FTP that can also be done.


Try the below 2 options.

Option 1:

use t-code: CG3Y

This transaction is easy to use: you just need to enter the path of the required file and the path where the file should be downloaded to the front end.

Option 2:

check the below FM

ARCHIVFILE_SERVER_TO_CLIENT.

Provide the path and Target path where to download.

Regards

KP

anubhav_kumar2
Explorer
0 Kudos

Hi Prashant

I will ask Basis team to help me making an RFC. The requirement is to move an AL11 file in temporary directory to ftp location (secured).

CG3Y t-code does not exist.

FM ARCHIVFILE_SERVER_TO_CLIENT asks for path and destination.

for me the path is an AL11 file in temp directory.... so its - ./xyz.csv

for me the destination is ftp so - 192.168.2.201

I am unable to execute this correctly.