Day 5: FTP (5)
If the file is text, enter the following command:ascin lowercase. This will set the ‘mode’ to ascii (a).
If the file is binary, enter the following command:binin lowercase. This will set the ‘mode’ to image (i)
The command the upload a single file is ‘put’, to upload multiple files is ‘mput’. For example:put index.html uploads index.htmlmput *.html uploads all html files (with confirmation)
The command to download a single file is ‘get’, to download multiple files is ‘mget’. For example:get index.html downloads index.htmlmget *.jpg downloads all jpg files (with confirmation)