Sunday, April 26, 2009

How To ftp

How To ftp upload to http://xxx.xxx.xxx

generally this is done with a user account like:
Code:

sftp user@serverdomain.com

then if you have the public key or password you will be logged in, and get a prompt
stfp>

you can the use pwd to see where you are and cd to navigate. the put command will upload the file from pwd of your machine or use complete paths.

Code:

put filename.php

lets say I had a directory called MyFavs in my Music folder full of great tunes. I might do:
Code:

put /home/spiderbatdad/Music/MyFavs/*

No comments: