When I use commands ‘put upload.txt’ and get ‘download.txt’. I cannot find the files transferrred to the respective directories.
Can you explain to me the type of error you are getting?
The issue is resolved
can u post the hint /solution please @ayush_pandey
Just use put and get commands in respective directories
hey, i used put in ftp_client then bye and then get in ftp_server with get …is it right?
and i got command not found
I am having the same issue the files are getting transferred but not visible
to download download.txt from server to client
I ran command ftp 0.0.0.0 from ftp_client directory
then successfully entered ftp
ran command get ~/workspace/ftp_server/download.txt
local: /home/crio-user/workspace/ftp_server/download.txt remote: ~/workspace/ftp_server/download.txt
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for /home/crio-user/workspace/ftp_server/download.txt (40 bytes).
226 Transfer complete.
40 bytes received in 0.01 secs (3.5615 kB/s)
but when i do !ls i am not able to find download.txt
and also i dont understand why the value of local and remote in the output is same
cannot we just start ftp server in root and then we can traverse through the directory to ftp_client and then to ftp_server to run their respective commands and transfer files.