Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

How to rename file which is in vendor sftp by using any Adobe campaign activity?

Avatar

Level 2

Hi,

I am trying rename the file which has been placed in to vendor SFTP using file transfer activity. Could anyone help on this?

!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Naveen,

it doesn't matter, you can still use the same process with FTP activity. specify the current directory as storage directory.

1411932_pastedImage_0.png

Now delete the source files after processing.

1411933_pastedImage_1.png

Regards,

Amit

View solution in original post

5 Replies

Avatar

Level 10

Hi,

You can load the file using the file collector or use FTP file download and export the file to the same location with the new name.

If you are using file collector:

1411529_pastedImage_0.png

file collector basically moves your file from current directory to storage directory.

if you are happy with this renaming you are all good or you have to use export file of ftp activity to load it back in the current directory.

the second option would be mount this FTP location as a network drive and use js to rewrite the file with new names.

Regards,

Amit

Avatar

Level 2

Hi Amit,

Thanks for information.

While picking file from adobe sftp I wont be knowing file name since its generated every weekly by some vendor and post processing the picked file I will placing in snaplogic SFTP so for this I am using FTP activty.

This is my process so can you suggest for this scenario?

Thanks

Naveen S

Avatar

Correct answer by
Level 10

Hi Naveen,

it doesn't matter, you can still use the same process with FTP activity. specify the current directory as storage directory.

1411932_pastedImage_0.png

Now delete the source files after processing.

1411933_pastedImage_1.png

Regards,

Amit

Avatar

Level 2

Hi Amit,

I can change the file name now.

I picked file from one SFTP(file collector) , processed the file  and extracted(data extraction) into local SFTP by changing file name and later I dropped into vendor SFTP(FTP activity). This is working now.

I can use storage directory but do you know how to give user name, password and url in order to store into vendor SFTP which as authentication.

Thanks

Naveen

Avatar

Level 2

Hi Amit,

I am able to succesfully changing file names and can place vendor SFTP which has authentication.

Picking file from adobe SFTP through file collector next processing+changing file name(using script) next placing file again adobe SFTP(data extraction) post extraction I will be moving to vendor SFTP using FTP.

It works for me. Please let me know if we can do better in any ways.

Thanks

Naveen S