You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

How to move files from Peoplecode

3 replies [Last post]
krispsoftpro's picture
User offline. Last seen 8 years 25 weeks ago. Offline
Joined: 09/01/2008
Posts: 6

Hi,
How to move files from one folder another using peoplecode. Example: After processing an inbound file I want to move that file to a DUMP folder. Any suggestion in this regard helps me a lot.

Lepa's picture
User offline. Last seen 2 years 20 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: How to move files from Peoplecode

You can use PutAttachment fucntion to do that. Here is a post on this site to get you started, ask again if you are still stuck :)

http://www.compshack.com/peoplesoft/ftp-file-using-peoplecode

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Ashar's picture
User offline. Last seen 5 years 1 week ago. Offline
Joined: 03/26/2008
Posts: 227
Re: How to move files from Peoplecode

May be you can use Exec function in peoplecode to issue OS commands.. i haven't tried it myself though...

Peace,

Ashar

krispsoftpro's picture
User offline. Last seen 8 years 25 weeks ago. Offline
Joined: 09/01/2008
Posts: 6
Re: How to move files from Peoplecode

Hi Lipa, Ashar

Thanks for the reply. let me try with above solutions.

Thanks