Advertisement
Guest User

Untitled

a guest
May 30th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. indows:
  2. 1  
  3.  
  4. To launch command line FTP utility, go to Start > Run and enter"cmd" into the Open field of the run dialog box. Click OK or press enter.
  5.  
  6. Note: If using Windows 98/95/Me, enter "command" instead of"cmd".
  7. 2  
  8.  
  9. To change to a local directory that contains your site files, type cd followed by the path to the desired directory after the prompt.
  10.  
  11. Example: If your site files are stored in c:\sites\my_site, enter cd c:\sites\my_site.
  12. 3   At the prompt, enter ftp + FTP server name and press enter.
  13.  
  14. Note: The server name would be the same as the ftp host name used in the define sites dialog box in Dreamweaver and UltraDev.
  15.  
  16. Example: ftp ftp.redhat.com.
  17. 4
  18.    
  19.  
  20. You will then be prompted to enter a username. Following the prompt, enter the username for the FTP account and press enter.
  21.  
  22. Note: If you are connecting to an FTP server that allows anonymous FTP, you don't need a valid account. However, you need to use the preconfigured account called ftp (ftp is the same as anonymous) to access the server.
  23. 5  
  24.  
  25. Enter your password when the password prompt appears and press enter.
  26.  
  27. Note:For security reasons, the password entered is not displayed on the screen.
  28. 6  
  29.  
  30. When the' Login successful' message appears, you have successfully connected. At this point, you know that the ftp server is up and running and that you can successfully connect to it from your machine.
  31. At the ftp> prompt, you can run any FTP commands. To get a listing of acceptable FTP commands, simply enter a question mark (?) and press enter.
  32.  
  33. Note: You will still see a list of FTP commands even if you are not successfully connected to the FTP server.
  34.  
  35. Commonly used FTP commands:
  36.  
  37. ls: directory listing equivalent to dir.
  38. ls -l: long directory listing, more detail.
  39. pwd: display the name of current directory.
  40. cd: change directory.
  41. lcd: change the local current directory.
  42. get: to download the file from the FTP server.
  43. put: to transfer file and place it on the FTP server.
  44. mget: to download multiple files from the FTP server.
  45. mput: to transfer multiple files to the FTP server.
  46. prompt: to turn on/off interactive mode.
  47. binary: to turn on binary mode.
  48. ascii: to turn on ascii mode.
  49. delete: to turn a file on FTP server.
  50. status: to display how the current FTP session is configured.
  51. mkdir: to make directory on FTP server.
  52. quit/close/bye/disconnect: to disconnect from the FTP server.
  53.  
  54. Note: All FTP commands are case sensitive and should be in lower case.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement