Is it possible to download all files of an application in Cloud Foundry?

cloud-foundry

Solution

I use this simple script to download all the log files in my app you can tweak it to get all the content within the app folder

    mkdir -p <appName>/app/data/logs
    for i in `cf files <appName> app/data/logs | awk '{print $1}'`; 
    do cf files <appName> app/data/logs/$i > <appName>/app/data/logs/$i; done

Problem

Is it possible to download files of application to my local PC, i.e. perform operation opposite to "push"?

Original source