|
| 1 | +Connection to Server ... |
| 2 | +Server IP : 127.0.0.1 |
| 3 | +Port : 9000 |
| 4 | +[LOGGING] Client config is : |
| 5 | +[Variable] controlConnectionIP = 127.0.0.1 |
| 6 | +[Variable] controlConnectionPortNumber = 9000 |
| 7 | +[Variable] dataDumpReceiverIP = CURRENT_MACHINE_IP |
| 8 | +[Variable] dataDumpReceiverPortNumber = 9010 |
| 9 | + |
| 10 | +[CLIENT:CONNECTION] Connected to 127.0.0.1 |
| 11 | + |
| 12 | +[LOGGING] [RESPONSE] J's FTP-Server |
| 13 | + |
| 14 | +J-FTP ➜ [Variable] ftpRequest = user root |
| 15 | + |
| 16 | +[LOGGING] [RESPONSE] [Response : 331] |
| 17 | +Username OK. Needs Password |
| 18 | + |
| 19 | +J-FTP ➜ [Variable] ftpRequest = pass root |
| 20 | + |
| 21 | +[LOGGING] [RESPONSE] [Response : 230] |
| 22 | +[AUTHENTICATION:SUCCESS] User logged in. |
| 23 | + |
| 24 | +(root) J-FTP ➜ [Variable] ftpRequest = sys |
| 25 | + |
| 26 | +[LOGGING] [RESPONSE] [Response : 211] |
| 27 | +System Type : elementary OS 0.4.1 Loki |
| 28 | + |
| 29 | + |
| 30 | +(root) J-FTP ➜ [Variable] ftpRequest = LIST |
| 31 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 32 | + |
| 33 | +[LOGGING] [RESPONSE] I AM READY |
| 34 | + |
| 35 | +[CLIENT]: Got connection from 127.0.0.1 |
| 36 | +[LOGGING] CURRENT_MACHINE_IP |
| 37 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 38 | + |
| 39 | +[LOGGING] [RESPONSE] Directory Listing is as follows : |
| 40 | + |
| 41 | + |
| 42 | +[LOGGING] [RESPONSE] total 77 |
| 43 | +drwxrwxrwx 1 root root 0 Apr 22 13:18 bin |
| 44 | +-rwxrwxrwx 1 root root 479 Apr 19 15:39 .clang-format |
| 45 | +drwxrwxrwx 1 root root 4096 Apr 22 13:24 .git |
| 46 | +-rwxrwxrwx 1 root root 215 Apr 21 20:02 .gitignore |
| 47 | +drwxrwxrwx 1 root root 4096 Apr 22 13:24 logs |
| 48 | +-rwxrwxrwx 1 root root 2964 Apr 19 15:43 makefile |
| 49 | +drwxrwxrwx 1 root root 0 Apr 19 14:23 obj |
| 50 | +-rwxrwxrwx 1 root root 37714 Apr 22 00:00 readme.html |
| 51 | +-rwxrwxrwx 1 root root 11402 Apr 22 13:23 readme.md |
| 52 | +drwxrwxrwx 1 root root 0 Apr 4 12:10 src |
| 53 | +drwxrwxrwx 1 root root 4096 Apr 22 00:00 testfiles |
| 54 | +-rwxrwxrwx 1 root root 4573 Apr 22 13:05 todo.md |
| 55 | +drwxrwxrwx 1 root root 0 Apr 21 14:37 .vscode |
| 56 | + |
| 57 | + |
| 58 | +[Variable] ftpRequest = LIST |
| 59 | + |
| 60 | +[LOGGING] [RESPONSE] [Response : 226] |
| 61 | +Directory Listing Send OK. |
| 62 | + |
| 63 | +(root) J-FTP ➜ [Variable] ftpRequest = CWD testfiles |
| 64 | + |
| 65 | +[LOGGING] [RESPONSE] [Response : 250] |
| 66 | +Directory successfully changed. |
| 67 | + |
| 68 | +(root) J-FTP ➜ [Variable] ftpRequest = LIST |
| 69 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 70 | + |
| 71 | +[LOGGING] [RESPONSE] I AM READY |
| 72 | + |
| 73 | +[CLIENT]: Got connection from 127.0.0.1 |
| 74 | +[LOGGING] CURRENT_MACHINE_IP |
| 75 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 76 | + |
| 77 | +[LOGGING] [RESPONSE] Directory Listing is as follows : |
| 78 | + |
| 79 | + |
| 80 | +[LOGGING] [RESPONSE] total 214316 |
| 81 | +-rwxrwxrwx 1 root root 25096108 Mar 12 18:46 big.pdf |
| 82 | +-rwxrwxrwx 1 root root 3483460 Mar 12 10:01 small.pdf |
| 83 | +-rwxrwxrwx 1 root root 190877452 Jul 21 2018 superbig.mp4 |
| 84 | + |
| 85 | + |
| 86 | +[Variable] ftpRequest = LIST |
| 87 | + |
| 88 | +[LOGGING] [RESPONSE] [Response : 226] |
| 89 | +Directory Listing Send OK. |
| 90 | + |
| 91 | +(root) J-FTP ➜ [Variable] ftpRequest = RETR small.pdf |
| 92 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 93 | + |
| 94 | +[LOGGING] [RESPONSE] I AM READY |
| 95 | + |
| 96 | +[CLIENT]: Got connection from 127.0.0.1 |
| 97 | +[LOGGING] CURRENT_MACHINE_IP |
| 98 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 99 | + |
| 100 | +[LOGGING] [RESPONSE] Sending File in Binary Mode. |
| 101 | + |
| 102 | + |
| 103 | +[INFO] : Bytes Received : 3483460 |
| 104 | +[Variable] ftpRequest = RETR small.pdf |
| 105 | + |
| 106 | +[LOGGING] [RESPONSE] [Response : 250] |
| 107 | +Server Sent File Successfully. |
| 108 | + |
| 109 | + |
| 110 | +[LOGGING] Client Received File Successfully. |
| 111 | +(root) J-FTP ➜ [Variable] ftpRequest = noop |
| 112 | + |
| 113 | +[LOGGING] [RESPONSE] [Response : 200] |
| 114 | +Command OK. No Operation. |
| 115 | + |
| 116 | +(root) J-FTP ➜ [Variable] ftpRequest = LIST |
| 117 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 118 | + |
| 119 | +[LOGGING] [RESPONSE] I AM READY |
| 120 | + |
| 121 | +[CLIENT]: Got connection from 127.0.0.1 |
| 122 | +[LOGGING] CURRENT_MACHINE_IP |
| 123 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 124 | + |
| 125 | +[LOGGING] [RESPONSE] Directory Listing is as follows : |
| 126 | + |
| 127 | + |
| 128 | +[LOGGING] [RESPONSE] total 214316 |
| 129 | +-rwxrwxrwx 1 root root 25096108 Mar 12 18:46 big.pdf |
| 130 | +-rwxrwxrwx 1 root root 3483460 Mar 12 10:01 small.pdf |
| 131 | +-rwxrwxrwx 1 root root 190877452 Jul 21 2018 superbig.mp4 |
| 132 | + |
| 133 | + |
| 134 | +[Variable] ftpRequest = LIST |
| 135 | + |
| 136 | +[LOGGING] [RESPONSE] [Response : 226] |
| 137 | +Directory Listing Send OK. |
| 138 | + |
| 139 | +(root) J-FTP ➜ [Variable] ftpRequest = RETR superbig.mp4 |
| 140 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 141 | + |
| 142 | +[LOGGING] [RESPONSE] I AM READY |
| 143 | + |
| 144 | +[CLIENT]: Got connection from 127.0.0.1 |
| 145 | +[LOGGING] CURRENT_MACHINE_IP |
| 146 | +[Variable] getDataDumpReceiverPortNumber() = 9010 |
| 147 | + |
| 148 | +[LOGGING] [RESPONSE] Sending File in Binary Mode. |
| 149 | + |
| 150 | + |
| 151 | +[INFO] : Bytes Received : 190877452 |
| 152 | +[Variable] ftpRequest = RETR superbig.mp4 |
| 153 | + |
| 154 | +[LOGGING] [RESPONSE] [Response : 250] |
| 155 | +Server Sent File Successfully. |
| 156 | + |
| 157 | + |
| 158 | +[LOGGING] Client Received File Successfully. |
| 159 | +(root) J-FTP ➜ [Variable] ftpRequest = help |
| 160 | + |
| 161 | + ============ HELP SECTION ============ |
| 162 | + |
| 163 | +Command : Show all the available commands |
| 164 | +Usage : HELP |
| 165 | + |
| 166 | +Command : Execute a command on client |
| 167 | +Usage : !<normal-command> |
| 168 | + : !ls -la |
| 169 | + : !cd .. |
| 170 | + |
| 171 | +Command : No Operation |
| 172 | +Usage : NOOP |
| 173 | + |
| 174 | +Command : Provide username for login |
| 175 | +Usage : USER <username> |
| 176 | + |
| 177 | +Command : Provide password for login |
| 178 | +Usage : PASS <password> |
| 179 | + |
| 180 | +Command : Get System Details Of server |
| 181 | +Usage : SYS |
| 182 | + |
| 183 | +Command : Print working directory |
| 184 | +Usage : PWD |
| 185 | + |
| 186 | +Command : List directory contents |
| 187 | +Usage : LIST <pathToDirectory> |
| 188 | + : ls <pathToDirectory> |
| 189 | + |
| 190 | +Command : Change working directory |
| 191 | +Usage : CWD <path> |
| 192 | + : cd <path> |
| 193 | + |
| 194 | +Command : Change to parent directory |
| 195 | +Usage : CDUP |
| 196 | + |
| 197 | +Command : Make directory |
| 198 | +Usage : MKD <directoryName> |
| 199 | + : mkdir <directoryName> |
| 200 | + |
| 201 | +Command : Remove directory |
| 202 | +Usage : RMD <directoryName> |
| 203 | + : rmdir <directoryName> |
| 204 | + |
| 205 | +Command : Send File to Server |
| 206 | +Usage : STOR <fileName> |
| 207 | + : put <fileName> |
| 208 | + |
| 209 | +Command : Retrive File from Server |
| 210 | +Usage : RETR <fileName> |
| 211 | + : get <fileName> |
| 212 | + |
| 213 | +Command : Switch data connection IP, Port |
| 214 | +Usage : PORT <IPAddress> <Port> |
| 215 | + |
| 216 | +Command : Quit the application |
| 217 | +Usage : QUIT |
| 218 | + |
| 219 | +Command : Abort the last command and related data transfer |
| 220 | +Usage : ABOR |
| 221 | + |
| 222 | +Command : Switch to Passive Receive Mode |
| 223 | +Usage : PASV |
| 224 | + |
| 225 | +Command : Switch the representation type |
| 226 | +Usage : TYPE <A/E/I> <N/T/C> |
| 227 | + : TYPE L <byte size> |
| 228 | + |
| 229 | +Command : Switch the transfer mode |
| 230 | +Usage : MODE <S/B/C> |
| 231 | + : Namely, Stream, Block, Compressed Mode |
| 232 | + |
| 233 | +Command : Switch the File structure Type |
| 234 | +Usage : STRU <F/R/P> |
| 235 | + : Namely, File, Record Structure, Page Structure |
| 236 | + |
| 237 | + |
| 238 | +(root) J-FTP ➜ [Variable] ftpRequest = noop |
| 239 | + |
| 240 | +[LOGGING] [RESPONSE] [Response : 200] |
| 241 | +Command OK. No Operation. |
| 242 | + |
| 243 | +(root) J-FTP ➜ [Variable] ftpRequest = QUIT |
| 244 | + |
| 245 | +[LOGGING] [RESPONSE] [Response : 221] |
| 246 | +Terminating Connection |
| 247 | + |
0 commit comments