Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Unable to download code from application in Bluemix

310000RFMN gravatar image
Question by ArjanKroon  (1) | Mar 03, 2016 at 05:25 AM devops-servicescloudfoundrygitibmcloud

Hi, I downloaded and installed the cf download plugin (version 1.0). When I call the plugin through my Windows command line I get the following error:

 dial tcp 127.0.0.1:54346: Er is een ongeldig argument opgegeven.

English translation of the error: An invalid argument specified.

I used the following command to download my app: cf download

What could be the problem? The firewall is off. If I do cf apps on my command line, I see the apps.

Thanks in advance,

Arjan Kroon

People who like this

  0   Show 2
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
0600007J6A gravatar image JohnPape (1292) ♦   Mar 03, 2016 at 06:41 PM 0
Share

What is the exact command line you tried to used to download your droplet?

310000RFMN gravatar image ArjanKroon (1) JohnPape (1292) ♦   Mar 04, 2016 at 03:01 PM 0
Share

cf download

If I look at the plugins with cf plugins , I see this:

Listing Installed Plugins... OK Plugin Name Version Command Name Command Help cf-download 1.0.0 download Download contents of a running app's file directory

1 reply

  • Sort: 
0600007J6A gravatar image

Answer by JohnPape (1292) | Mar 04, 2016 at 03:08 PM

I'm pretty sure that cf download is going to take an argument for the app name it's going to act on. I.e. cf download <app>

Comment

People who like this

  0   Show 3   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
310000RFMN gravatar image ArjanKroon (1)   Mar 07, 2016 at 03:13 AM 0
Share

That is correct. I use cf download
Even if I use cf download I get the same error message.

If I use cf download I expect the following response: Error: Missing App Name NAME: download - Download contents of a running app's file directory USAGE: cf download APP_NAME [PATH] [--overwrite] [--verbose] [--omit ommited_paths] [-i instance_num]

0600007J6A gravatar image JohnPape (1292) ♦ ArjanKroon (1)   Mar 07, 2016 at 09:18 AM 0
Share

Okay.. so give it an app name and try again.

110000RUW6 gravatar image JohnFeller (92) ArjanKroon (1)   Mar 09, 2016 at 09:25 PM 0
Share

Arjan, take a look at the blog article at http://blog.ibmjstart.net/2015/05/22/cf-download/ to give you information about the command line usage for the cf download plugin. As John Pape stated, you need to provide the name of the app that is actively running on Bluemix.

If your application is named "MyNodeApp", your CF download command line would be something like: cf download MyNodeApp --omit "app/node_modules; app/bin; logs" (By omitting app/node_modules you will greatly decrease download times. You can run npm install locally on your package.json after completing a download.)

Follow this question

89 people are following this question.

Answers

Answers & comments

Related questions

How can I push to bluemix using git instead of cf - If this is possible, of course : ) 2 Answers

How to download code from application in Bluemix? My application does not have starter code(not created from boilerplate). 6 Answers

cf login gives me a status code 500 and tells me to use cf login 0 Answers

How to download starter code of cloud foundry apps? 2 Answers

Adding a Feature to server.xml 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges