View Single Post
  #1   (View Single Post)  
Old 31st December 2012
ershiba ershiba is offline
Loading, please wait...
 
Join Date: Dec 2012
Posts: 34
Default ftp upload files using the (S)hell

greetings to all masters & non-masters,

i am total beginner in this, but my resolution in 2013 is to operate Open & others BSD, please guide me.

during the Welcome to the OpenBSD/i386 5.2 installation program.
(I)nstall, (U)pgrade or (S)hell?

i choose shell, and there is a program ftp in /usr/bin

idk if that is a complete ftp program as in
http://www.openbsd.org/cgi-bin/man.cgi?query=ftp&apropos=0&sektion=0&manpath=Open BSD+Current&arch=i386&format=html

or a cut down version with limited feature. idk.

# ftp
usage: ftp [-o output] ftp://[user:password@]host[:port]/file[/]

how to use this to upload files?
since i want to copy the install script, install.md, install.sub out from virtualbox openBSD and use windows Notepad++ to read them.

ftp -o - ftp://[myusername@abc.com:mypassword@]abc.com:21

ftp -o - ftp://myname@abc.com:mypassword@abc.com:21

i tried several combination, but fail, please guide me, thank you.
Reply With Quote