set transfer mode to ascii mode
|
|
binary(bi)
|
set transfer mode to binary mode
|
bye
|
exit ftp
|
chmod
|
change file permission
|
close
|
close connetion
|
delete
|
delete file
|
get
|
download file
|
hash
|
display file transer status with '#'
|
help
|
help
|
lcd
|
change working directory
|
ls
|
shows file list in the directory
|
mdelete
|
delete multiple files
|
mget
|
download multiple files
|
mput
|
upoad multiple files
|
open
|
ftp open
|
prompt
|
on/off prompt mode
|
put
|
upload file
|
pwd
|
show current working directory
|
quit
|
exit ftp
|
rstatus
|
shows current connection status of remote
|
rename
|
change file name
|
rmdir
|
remove directory
|
size
|
display file size as byte
|
status
|
shows current connection status
|
trace
|
on/off packet tracing
|
type
|
set file transfer mode
|
verbose
|
on/off detailed information
|
?
|
help
|
!
|
move to local computer without disconnect to remote
computer. Type 'exit' to move to remote computer
|
Dec 4, 2014
FTP command
Apr 2, 2014
DOS format UNIX format error
when you use text file in both window and UNIX, linux
it could cause file format error because they use different newline
unix <LF> (each line ends with LF).
dos <CR><LF> (each line ends with CR and LF).
mac <CR> (each line ends with CR).
CR(Carriage Return) , 0x0D
LF(Line Feed) , 0x0A
so if you use text file, you should check the text file has right format for the OS
you can change file format with text-editer (ex: Ultraedit)
for more information, visit
http://en.wikipedia.org/wiki/Newline
it could cause file format error because they use different newline
unix <LF> (each line ends with LF).
dos <CR><LF> (each line ends with CR and LF).
mac <CR> (each line ends with CR).
CR(Carriage Return) , 0x0D
LF(Line Feed) , 0x0A
so if you use text file, you should check the text file has right format for the OS
you can change file format with text-editer (ex: Ultraedit)
for more information, visit
http://en.wikipedia.org/wiki/Newline
Jan 23, 2014
path setup
vi ~/.bash_profile
---------------------------
PATH=/bin:/usr/bin/:/usr/local/bin :/address/want/to/save
export PATH
----------------------------
echo $PATH
source ~/.bash_profile ( to apply modified path)
Subscribe to:
Posts (Atom)