Forum Discussion
Altera_Forum
Honored Contributor
21 years agouClinux FTP Question?
Hello I have a program that creates files, puts them into my //home/ftp directory. I would like to log into the FTP server and download those files that the program creates. I cant dowload or see any...
Altera_Forum
Honored Contributor
21 years ago<div class='quotetop'>QUOTE </div>
--- Quote Start --- You were on the right track it had to do with the ls, but putting ls in the ftp directory did nothing here is what I did.[/b] --- Quote End --- Sorry, I cannot understand the meaning of this sentence. My English is not good. I enumerate some common questions about ftpd on uclinux . it maybe can help you . first, you must change the terget dir of ftpd. like the example which i give you. open the /etc/passwd file . and fix the ftp user 's root dir. ===passwd================================================= ....... ftp:x:14:50:FTP User:/mnt/cf(<= /mnt is ramfs ): ....... ========================================================= that's because the uclinux use romfs in the /home dir. it no use to set the ftp dir to /home/ftp. Second, you make sure that your ftp client software is run in port mode. if run in pasive mode you will found the info from your ftp client software like this : ====================================================== - ............ - PASV - 227 Entering Passive Mode (0,0,0,0,12,1) - Opening data connection IP: 0.0.0.0 PORT: 3073 - Unable connect to 0.0.0.0:3073 (Can't Assign Requested Address(10049)) - ............ ====================================================== there are four ZEROs when the server send his IP. So, must use port mode without fix code of ftpd. Good luck with you.