Site commands,


Using the special site commands gives you extra ability`s to work on you operating system / hosting server from other computers installed in your network when ever it local (LAN) or on the world wide web.
ftp> site help
214-site options:
 SITE help                                            | This command
 SITE chmod         <mode> <file>     | Change file permissons
 SITE timezone                                    |  Display server timezone>
 SITE arghive                                       | Add on directory to an .tar.gz arghive
214 Questions + suggestions go to [email protected]
ftp>

Using the ' SITE arghive ' command

This command is designed to  save  your work at any time this great feathure makes a tar ball of the current work directory so you can download the file to backup everything you host.

ftp> ls -l
200 PORT command successful.
150 Opening directory for data transport.
-r----x--       rave users        18 Jun 13 21:17 C
-rw------      rave users         0 Jun 12 06:20 AUTOEXEC.BAT
-rwxrwxrw rave users       807 Jun 03 06:38 shadow
-rw-r--r-     rave users      5706 Jun 11 15:24 matrices_3x4.c
226 Directory send OK.
ftp> site arghive
214-Status directory files in backup.tar.gz:
./
./C
./AUTOEXEC.BAT
./shadow
./backup.tar.gz
./matrices_3x4.c
214 Done backup.tar.gz is ready to be downloaded:
ftp>

The backup will be created with the name
backup.tar.gz and will be stored in your current work directory and you can retrive it with the get command.
<ftp>  ls "-l backup.tar.gz"
500 Bad EPRT protocol.
227 Entering Passive Mode (0,0,0,0,5,81)
200 PORT command successful.
150 Opening directory for data transport.
-rw-r--r- rave users      1678 Jun 14 12:49 backup.tar.gz
226 Directory send OK.
ftp> get backup.tar.gz"
local: backup.tar.gz remote: backup.tar.gz
200 PORT command successful.
150 Opening BINARY mode data connection for backup.tar.gz ( 1678 Bytes).
226 File send OK.
3066 bytes received in 00:00 (76.07 KB/s)
ftp>




Hosted by www.Geocities.ws

1