If you would like to change the permissions that a file has, then you can use the following command: chmod 777 MyFile.pdf Also, it should let you see the permissions that the file has. You should see the date and time when the file was last modified. If you wish to see when a file was last modified, then you can use the following command to do that: ls -l MyFile.txt It will delete a file called MyFile.pdf on the FTP server. If you want to delete a file that is located on the server, then the following command should help you do that: delete MyFile.pdf If you would like to move a file to another directory, then you can use the following command to do that: rename file-name.ext destination-path/file-name.extīesides the destination directory, you also need to specify the name of the file that should be saved there. Where old-name.ext is the current name of the file and new-name.ext is the new name that you would like to give to the file. You can rename files on the FTP server by using the following command in Terminal: rename old-name.ext new-name.ext To create a directory called omghowto on the FTP server, you would use the following command: mkdir omghowto You can also create a new directory (folder) on the FTP server with Terminal’s FTP feature. get MyNewFile.pdf /Users/Mahesh/Desktop/Downloaded.pdf The following command should retrieve MyNewFile.pdf from the remote server over to the desktop on my Mac with the name Downloaded.pdf.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |