Expand my Community achievements bar.

File Transfer : Moving the file to Archive folder post execution

Avatar

Level 1

Hi Team,

 

Hope this mails finds you well !!

 

I'm trying to configure file transfer activity in adobe campaign classic v7. After the files are read from the sFTP I want them to be moved into archival folder that's created in the sFTP. I have added the same path that is created into file transfer's "file historization setting section" wherein I'm using storage directory as the path created in the sFTP. When the activity is running its able to read the file but unable to move it to the archival folder. I have also checked if we have the access to create or delete the files in that folder as I'm able to do it manually. 

Can you please help me on how can i transfer the files to a different storage directory ?? 

Regards,

Himanshi S

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Level 5

Hi @HimanshiSh1 when the file is processed and to be moved into archive folder via workflow activity, then the 'Archive' directory should have the permission for 'neolane' user with write access. Check the directory permissions. 

 

For example - to view the permission for Linux directory, we can use 'ls -lrt' command. Write access example - "chmod -R 0777 /mydirectory"

Avatar

Level 1

Hi @somasundaram_h ,

 

Thank you for your response.

I tried checking the Archive Folder rights from WinSCP, by clicking the properties and checking the assigned permissions. However, I'm unable to do so I'm getting this error which says "hostname does no exists".

I'm guessing this means I don't have the rights to view the access assigned to these folders also I would like to highlight that I'm able to upload files manually on the archive folder. 
Is it still access right issue ?? Is there anything I can check with adobe support ?

Regards,

Himanshi Sharma

 

 

 

Avatar

Level 5

Hi, check the permission for neolane user for that folder. If you’re not able to access via winscp, try to use js activity in workflow like below:

 

var cmd =execCommand(“ls -lrt directoryname”)

logInfo(cmd);

 

Avatar

Level 1

Hi @somasundaram_h , 

 

I tried the above command in JavaScript activity however, Its throwing error while execution.

 

HimanshiSh1_0-1731991984134.png

Also, I'm unable to view the properties details in WinSCP. It there any other way to debug this case ??

 

Regards,

Himanshi Sharma