Lompat ke konten Lompat ke sidebar Lompat ke footer

Perintah - perintah dasar FTP


Hey sobat blogger semua, Alhamdulillah ada kesempatan update blog ini...disni saya akan membahas tentang perintah - perintah dasar FTP. apa itu FTP? silahkan baca artikelnya di sini.

oke guys langsung aja. silahkan di simak semoga bermanfaat....

  • ? / help : to request help or information about the FTP commands
  • ascii : to set the mode of file transfer to ASCII (this is the default and transmits seven bits per character)
  • binary       to set the mode of file transfer to binary (the binary mode transmits all eight bits per byte and thus provides less chance of a transmission error and must be used to transmit files other than ASCII files)
  • bye : to exit the FTP environment (same as quit)
  • cd  : to change directory on the remote machine
  • close : to terminate a connection with another computer
  • delete : to delete (remove) a file in the current remote directory (same as rm in UNIX)
  • get : to copy one file from the remote machine to the local machine
  • help : to request a list of all available FTP commands
  • lcd  : to change directory on your local machine (same as UNIX cd)
  • ls : to list the names of the files in the current remote directory
  • mkdir : to make a new directory within the current remote directory
  • mget : to copy multiple files from the remote machine to the local machine; you are prompted for a y/n answer before transferring each file
  • mput : to copy multiple files from the local machine to the remote machine; you are prompted for a y/n answer before transferring each file
  • open : to open a connection with another computer
  • put : to copy one file from the local machine to the remote machine
  • pwd : to find out the pathname of the current directory on the remote machine
  • quit : to exit the FTP environment (same as bye)
  • rmdir : to to remove (delete) a directory in the current remote directory
Untuk masuk ke server ftp, maka kita dapat masukkan di command prompt : ftp (nama server) atau ftp (ip address). Setelah login. Kita dapat coba perintah dir untuk menampilkan folders dan files.



Perintah-perintah FTP. Ketik help lalu enter untuk mengetahui perintah-perintah di FTP.
 

Membuat direktori adalah mkdir (nama direktori
Untuk masuk ke driktori adalah cd (nama direktori)
Untuk keluar dari direktori adalah (cd ..)
Untuk menghapus direktori: rmdir (nama direktori)
Contoh seperti dibawah ini:
 

Untuk menghapus file adalah delete (nama file).

Untuk melakukan copy dari file di komputer kita lalu dikirim ke FTP Server adalah put (letak file itu berada di komputer kita).

untuk mengambil file maka ketikkan get (nama file).

Untuk mengambil banyak file ketik mput (letak file itu berada di komputer kita) (dilanjitkan dengan file lian di komputer kita yang ingin dimasukkan).

Untuk mengambil banyak file ketik mput (letak file itu berada di komputer kita) (dilanjutkan dengan file lain di komputer kita yang ingin dimasukkan).
 Untuk melakukan copy dari file di komputer kita lalu dikirim ke FTP Server adalah put (letak file itu berada di komputer kita) (dilanjutkan dengan file lain)

Lcd untuk mengetahu apakah kita pada direktori apa jika kita hendak melakukan get.

oke itu dia tadi beberapa ilmu yang saya dapatkan semoga bermanfaat dan bisa di pahami...thanks sudah menyimak silahkan kembali lagi kemari ya guys..:)