So, am i supposed to switch to vsftpd_v2 for starting the server ?
You have to test all the versions provided. It may help to read through all the milestones first.
But i am not able to even transfer 1 gb file as of now !
"Transfer the 1 GB between the QBox server and client, try both upload and download "
What i understood from this step is we need to transfer 1GB file from ftp_server to ftp_client folder using get command. And then we need to again transfer that 1 GB file from ftp_client to ftp_sever using put command. Please tell if i am in the wrong direction.
Check if file is allocated 1 GB memory or not.
Look for file permissions as well.
Yes, its of 1 gb, has execution,read,write rights and both group and owner is root.
few important points-:
first create directory ftp_server and ftp_client in home/crio-user
then start vsftpd_v1(for milestone1) with vsftpd.config file
then in another terminal start ftp after the successful start
check your current directory in ftp and navigate to the home/crio-user/ftp_server
now suppose your 1GB file name is test.img and you want to download it
So, now change your lcd to home/crio-user/ftp_client
and now use get command to download test.img file.
important links -:
I followed all the steps, but still the get command not working
Also, when I created the file of 1 GB and run the ls command, the file size was 1 Gb. But soon after the put command, the file size became 0. Is it alright or was there a mistake in creating the file? I used the fallocate command to create the file.
I have been doing this for a while but getting this error
ftp> get test.img
local: test.img remote: test.img
227 Entering Passive Mode (127,0,0,1,63,212).
550 Failed to open file.
Because the directory from which you are downloading and directory to which you are downloading is same. The file size became 0 bytes because you ended up overwriting the file.
Issue Resolved. Thanks !
Just think that if there is a file in your ftp_server then it means that file is in server already
So,Now if you use put command it will cause your file size to 0(Don’t know the exact reason behind it).So don’t use put command for your file present in ftp_server instead use put for your file present in ftp_client
edit:- got the reason mentioned in comment section by @Kunal
read my comment you will find your answer
but i am doing same as you said
try again @Vaishnavi_Singh has solved it and #me too
i am still struct please help @Vaishnavi_Singh
ok tell me some more details it will help me in debugging
tell me the whole process after ftp 0.0.0.0 8081 command
Refer to the second link that is being provided by @senti143 . You will get hints for the solution there !
tried the exact same steps, but still I’m getting the same error as @amitagarwalaa57 mentioned in his comment
@amitagarwalaa57 i have already written that you don’t have to change your directory to ftp_client instead you have to type the get command in ftp_server directory except this time your lcd will be ftp_client