Hello to all,
I found out earlier that we can log into a ftp server from a c program with the following line:
provided that the user's root directory has a file named .netrc with the following line:
machine serverName login usersName passward usersPasswd
Note: .netrc should have the permission of 600.
After login, I could not use any ftp commands such as get, put etc. from the c program, are there any ways to do that (I mean from the c program)?
Any suggestions would be highly appreciated.