cf-download | Cloud Foundry cli plugin for downloading your application
kandi X-RAY | cf-download Summary
kandi X-RAY | cf-download Summary
A Cloud Foundry cli plugin for downloading your application contents after staging
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- GetFilterList return filtered list
- ParseArgs takes a list of args and returns a flagSet and a slice of strings
- GetDirectoryContext takes a list of paths and returns a list of paths
- ExpandGlobs expands a list of paths and returns a new list of paths
- GetMetadata returns the plugin metadata
- PrintCompletionInfo prints the completion information about the progress bar
- main is the main entry point .
- consoleWriter is a console writer that prints files downloaded .
- CheckToFilter checks if a file is in filterList
- NewDownloader creates a new downloader
cf-download Key Features
cf-download Examples and Code Snippets
$ cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org/
$ cf install-plugin cf-download -r CF-Community
Community Discussions
Trending Discussions on cf-download
QUESTION
I use ELK and write some additional (extensive) log information to a file called extensive.log.
How can I download this file to my local hard drive for further analysis?
I tried the cf-download plugin. But I do get a "permission or corrupt" error.
$ cf download app-name /home/SOME-PATH/logs/extensive.log
ANSWER
Answered 2017-Dec-05 at 03:31You don't need any plugins, you can use scp
or sftp
.
The documentation is here, but this is a summary:
cf login
andcf target
cf curl /v2/info | jq .app_ssh_endpoint
this is your SSH hostcf ssh-code
then copy the value, this is your passwordcf app app-name --guid
this is part of your user namesftp -P 2222 cf:/@
, when prompted for a password, enter the passcode you copied in step #3.
Similarly, for scp
you can run scp -P 2222 -oUser=cf:/ my-local-file.json :my-remote-file.json
.
Hope that helps!
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cf-download
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page