Application Development and Automation 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: 
Read only

Read PGP encypted file

Former Member
0 Likes
1,025

I have been asked to write a report to logon to another FTP server, save to file to a local server and then read the data to then further process in SAP.

The only issue I have is the reading the encrypted data everything else I think will be fine.

I was wondering if anyone else has done this or knew of an example in SAP I might be able to gain inspiration from? (Also an example of reading FTP'ing a file from another server would be good)

Any help will be gratefully received.

Kind regards,

Danny Boy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
984

Hi Danny,

In order to read a file from FTP server,

you can use 3 FM :

FTP_CONNECT

FTP_COMMAND

FTP_DISCONNECT

Pls check below link for further reference.

http://www.sap-img.com/ab003.htm

Cheers,

Vikram

Pls reward for helpful replies!!

I have been asked to write a report to logon to another FTP server, save to file to a local server and then read the data to then further process in SAP.

The only issue I have is the reading the encrypted data everything else I think will be fine.

I was wondering if anyone else has done this or knew of an example in SAP I might be able to gain inspiration from? (Also an example of reading FTP'ing a file from another server would be good)

Any help will be gratefully received.

Kind regards,

Danny Boy

4 REPLIES 4
Read only

Former Member
0 Likes
985

Hi Danny,

In order to read a file from FTP server,

you can use 3 FM :

FTP_CONNECT

FTP_COMMAND

FTP_DISCONNECT

Pls check below link for further reference.

http://www.sap-img.com/ab003.htm

Cheers,

Vikram

Pls reward for helpful replies!!

Read only

0 Likes
984

Many thanks Vikram,

I was hoping to find out more about PGP encryption and reading these files - any ideas?

Regards,

Danny Boy

Read only

Former Member
0 Likes
984

Hi Danny,

Since someone would be handling PGP encryption at the FTP server side, pls ask them about encryption/decryption process and what should be unix command to decrypt PGP file. I went thru few PGP forums but did not get suitable input for you.

There must be some unix level command to decrypt teh file. Once you get that input, i can send you reply for executing unix command from ABAP to decrypt the file.

Cheers,

Vikram

Pls reward for helpful replies!!

Read only

0 Likes
984

The server people are looking into running PGP on a server at a UNIX level - I will let you know if they manage to progress this.

Kind regards,

Danny Boy