SUCSS

FTP tutorial

Oct 8th, 2024
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. ftp> open ftp.osint.sucss.org
  2. Connected to ftp.osint.sucss.org.
  3. 220 ftp.osint.sucss.org FTP server (GNU inetutils 2.5) ready.
  4. Name (ftp.osint.sucss.org:dave-sucss): dave-sucss
  5. 331 Password required for dave-sucss.
  6. Password: BVvjaDwVbb^hE0g$
  7. 230 User dave-sucss logged in.
  8. Remote system type is UNIX.
  9. Using binary mode to transfer files.
  10. ftp> dir
  11. 200 PORT command successful.
  12. 150 Opening ASCII mode data connection for '/bin/ls'.
  13. total 1304
  14. -rw-r--r-- 1 dave-sucss staff 324464 Oct 7 15:33 dave.jpeg
  15. drwxr-xr-x 2 dave-sucss staff 80 Aug 23 18:45 docs
  16. -rw-r--r-- 1 dave-sucss staff 196 Aug 23 18:45 notes.txt
  17. -rw-r--r-- 1 dave-sucss staff 995066 Oct 7 15:33 out.txt
  18. -rw-r--r-- 1 dave-sucss staff 464 Oct 7 15:32 out2.txt
  19. -rw-r--r-- 1 dave-sucss staff 38 Oct 7 15:32 test2.txt
  20. drwxr-xr-x 2 dave-sucss staff 40 Oct 7 15:31 tmp
  21. 226 Transfer complete.
  22. ftp> lcd /home/dave/blog-ftp-tutorial
  23. Local directory now /home/dave/blog-ftp-tutorial
  24. ftp> put test.txt
  25. 200 PORT command successful.
  26. 150 Opening BINARY mode data connection for 'test.txt'.
  27. 226 Transfer complete.
  28. 47 bytes sent in 2e-05 seconds (2.24 Mbytes/s)
  29. ftp> dir
  30. 200 PORT command successful.
  31. 150 Opening ASCII mode data connection for '/bin/ls'.
  32. total 1308
  33. -rw-r--r-- 1 dave-sucss staff 324464 Oct 7 15:33 dave.jpeg
  34. drwxr-xr-x 2 dave-sucss staff 80 Aug 23 18:45 docs
  35. -rw-r--r-- 1 dave-sucss staff 196 Aug 23 18:45 notes.txt
  36. -rw-r--r-- 1 dave-sucss staff 995066 Oct 7 15:33 out.txt
  37. -rw-r--r-- 1 dave-sucss staff 464 Oct 7 15:32 out2.txt
  38. -rw-r----- 1 dave-sucss staff 47 Oct 7 15:35 test.txt
  39. -rw-r--r-- 1 dave-sucss staff 38 Oct 7 15:32 test2.txt
  40. drwxr-xr-x 2 dave-sucss staff 40 Oct 7 15:31 tmp
  41. 226 Transfer complete.
  42. ftp> !ls -l
  43. total 4
  44. -rw-r--r-- 1 dave staff 47 Oct 7 15:35 test.txt
  45. ftp> get test2.txt
  46. 200 PORT command successful.
  47. 150 Opening BINARY mode data connection for 'test2.txt' (38 bytes).
  48. 226 Transfer complete.
  49. 38 bytes received in 3.1e-05 seconds (1.17 Mbytes/s)
  50. ftp> !ls -l
  51. total 8
  52. -rw-r--r-- 1 dave staff 38 Oct 7 15:36 test2.txt
  53. -rw-r--r-- 1 dave staff 47 Oct 7 15:35 test.txt
  54. ftp> quit
  55. 221 Goodbye.
Advertisement
Add Comment
Please, Sign In to add comment