Hello Sri Ram,
Follow the below sequence, to transfer the files.
call function 'HTTP_SCRAMBLE' --> To scramble user name and password
call function 'FTP_CONNECT' --> To connect to HTTP
call function 'FTP_COMMAND' --> To access the directory
call function 'FTP_R3_TO_SERVER'-> To transfer the file
call function 'FTP_DISCONNECT' -> To disconnect from HTTP
call function 'RFC_CONNECTION_CLOSE' --> To close the RFC call to HTTP
Regards,
TP