cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver file name in SFTP

vijay_b4
Active Contributor
0 Kudos

Hi,

The two source files i need to pick is daily.csv and weekly.csv, now in the target side the file need to be daily_yyyymmdd.csv and weekly_yyyymmdd.csv?the receiver is sftp.

and should we specify complete shared folder path in directory field?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello Vijay,

Are the placing the files in the same directory?

Use dyanmic configuraiton to name the files dyanmically and in the directory you can give the same path.

vijay_b4
Active Contributor
0 Kudos

Thank you Raghuraman.

Just a question what is the difference between dynamic configuration and module configuration.

I mean in the module parameter when I gave this "&http://sap.com/xi/XI/System/File/FileName&"_"&GetDateTime("yyyyMMdd")&".csv" ... its working good....

what is dynamic configuration and how to do?

Thanks.

former_member184720
Active Contributor
0 Kudos

>>what is dynamic configuration and how to do?


Dynamic configuration is mechanism which allows you set attributes such as filename/ directory many more dynamically.


You'll have more flexibility to change the file name based on the payload content and apply transformation rules on it.


It can be done using a UDF/ Java mapping.'


You can search SCN and we have lot of blogs available on this.

vijay_b4
Active Contributor
0 Kudos

ok if the file name we want it from payload means then we have to go for dynamic config right?

and what is ASMA again?

can you explain me more clearly?

Thank you.

former_member184720
Active Contributor
0 Kudos

Below wiki should address your question.

Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integr...

If you use ASMA then the values must be part of your target payload.

For Dynamic configuration, it's not required.

Answers (0)