We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

Re: [sap-dev] Secure FTP from ABAP

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from abbu_sap on Apr 19 at 6:28 AM
*CALL FUNCTION 'HTTP_SCRAMBLE'
* EXPORTING
* SOURCE = 'P@ssw0rd@123'
* sourcelen = 12
* key = 26101957
* IMPORTING
* destination = pwd.
*
* CALL FUNCTION 'FTP_CONNECT'
* EXPORTING
* user = 'RND-BANG'
* password = pwd
* host = '192.168.1.30'
* rfc_destination = 'SAPFTPA'
* IMPORTING
* handle = hdl
* EXCEPTIONS
* not_connected = 1
* OTHERS = 2.
* IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
* ENDIF.
*
*
* CALL FUNCTION 'FTP_COMMAND'
* EXPORTING
* handle = hdl
* command = 'cd RND-BANG'
* TABLES
* data = ftp_data
* EXCEPTIONS
* tcpip_error = 1
* command_error = 2
* data_error = 3
* OTHERS = 4.
* IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
* ENDIF.
*
* CALL FUNCTION 'FTP_COMMAND'
* EXPORTING
* handle = hdl
* command = 'cd Leads'
* TABLES
* data = ftp_data
* EXCEPTIONS
* tcpip_error = 1
* command_error = 2
* data_error = 3
* OTHERS = 4.
* IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
* ENDIF.
*
* CALL FUNCTION 'FTP_COMMAND'
* EXPORTING
* handle = hdl
* command = 'ascii'
* TABLES
* data = ftp_data
* EXCEPTIONS
* tcpip_error = 1
* command_error = 2
* data_error = 3
* OTHERS = 4.
* IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
* ENDIF.
*
* CALL FUNCTION 'FTP_COMMAND'
* EXPORTING
* handle = hdl
* command = 'dir'
* TABLES
* data = ftp_data1
* EXCEPTIONS
* tcpip_error = 1
* command_error = 2
* data_error = 3
* OTHERS = 4.
* IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
* ENDIF.
*

---------------Original Message---------------
From: R. N. Wilhite
Sent: Thursday, April 18, 2013 3:10 PM
Subject: Secure FTP from ABAP

My impression is that

CALL FUNCTION 'FTP_CONNECT'

Uses secure FTP, but I could be wrong.

Neal

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2013 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
abbu_sap  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language