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

problem with FTP server

Former Member
0 Likes
1,009

Hi,

I am sending data from the application server to FTP server.But my problem is

in application server total internal table data (all records) are uploaded into application server but when i am sending this applicaiton server data to FTP server by using FTP_COMMAND fucntion module some times total records are not sednig to the ftp server.Here my issue is any limit for ftp server file data size or any limit of ftp server file time.How can overcome this problem.Could you please suggest.

Thanks,

shyla

5 REPLIES 5
Read only

andreas_mann3
Active Contributor
0 Likes
713

hi,

think the limit is by 2 GB - if your file is greater try to split your file

What is the size of your file in MB?

I know, i've sent files ~1 GB with an Z-version of RSFTP004

A.

Message was edited by:

Andreas Mann

Read only

0 Likes
713

Hi Mann,

File size is 37MB

Thanks,

shyla

Read only

0 Likes
713

Hi shyla,

37 MB is not so large -

pls try report RSFTP004

pls reward useful anwswers

thank you

Andreas

Read only

laxman_sankhla3
Participant
0 Likes
713

hi,

is there any function module to copy file from application server to lotus server.

i m geting pdf file on application server but i want to transfer that pdf file from application server to lotus server.

if yes than give me suggestion.

please help me.

thanks in advanced.

Read only

Former Member
0 Likes
713

Hello kumar,

Use the function module FTP_R3_TO_SERVER to save the data on the FTP server from the application server.

first u need to select in which mode u want to upload the file.

ascii or character mode.

pass the command ascii or character into the FTP_COMMAND field.

CALL FUNCTION 'FTP_COMMAND'

EXPORTING

handle = g_f_hdl

command = 'ascii'

TABLES

data = g_t_result

EXCEPTIONS

tcpip_error = 1

command_error = 2

data_error = 3.

CALL FUNCTION 'FTP_R3_TO_SERVER'

EXPORTING

handle = g_f_hdl

fname = p_dfile

character_mode = 'X'

TABLES

text = g_t_file

EXCEPTIONS

tcpip_error = 1

command_error = 2

data_error = 3

OTHERS = 4.

check the program RSFTP007.

Regards,

Phani.