Search code examples
uploadopenshiftserveropenshift-client-tools

How to create folder and upload file inside openshift?


I'm using rhc client tools for openshift. and i want to upload it PhantomJS. So, I've Executable file and now i want to upload into my openshift server, So please let me know. How can i create folder? and how to upload it? I googled but fully confused with ${OPENSHIFT_DATA_DIR}.

Help would be appreciated!


Solution

  • If you are on Windows you can use winscp to do what you want. Use the equivalent for Mac or Linux. You will want to upload to the DATA directory in your gear. The data directory is already created for you.