Frequently Asked Questions

FTP access using Terminal
Last Updated 3 years ago

Linux



You can turn on Terminal with 2 different ways. Application can be found on upper left panel in Applications > Accessories > Terminal or you can start it if you press Ctrl + Shift + T at the same time.

image

Windows


Open Windows button located on down left and search in search bar. The terminal window will be loaded when you open program as shown on picture bellow.
image

Mac (OSX)


Open any folder. You will see on your left side Applications, click to open that directory then open Utilities. There you will locate program Terminal.

image

FTP pristup na server


No matter what operative system are you using, FTP access is the same and you are connecting to it as we will present bellow. We will be using fictional login data, so be sure to change it to your login data:


hostname: ftp ftp.macbook.de
username: Cory
password: yeeH8AhNg9


Type in terminal the following ftp your hostname (1)

If the connection was successful, ftp is going to ask for a valid user that has access to the server.

Then type your username and after that password, just know that characters that you type for password will not be shown on screen. (2)

image

After that, if you did enter the correct login info, you will see on your screen output somewhat similar to the following picture:

image

Best way to check if your ftp account is connected and that connection is working well is to use simple command such as ls , as it will list the names of the files in the current remote directory.

Note: You wont be able to connect via FTP or you will get errors, if you haven't connected to our VPN client. You can see how you can set it up in link here.

Useful commands:

bye/quit - exit the FTP environment

cd – to change directory on the remote machine

delete – to delete (remove) a file in the current remote directory

get – to copy one file from the remote machine to the local machine

help – to request a list of all available FTP commands

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

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

rmdir – to remove (delete) a directory in the current remote directory

Please Wait!

Please wait... it will take a second!