ftp to Linux server using One Line command
friends,
I want to "ftp' a Linux server from a windows machine directly .. i don't want to give username and password manually . i.e. , ftp -n 192.168.10.1 And go to the machine's directory using no username or password . Or, use just One line with username & password .Is there any option ? |
you could set the ftp server to allow anonymous logins. but this is VERY insecure, especially if you don't chroot those ftp logins into a directory tree they can't harm or see anything important. or are allowing access from outside of your LAN. both anon access and chrooting should be doable by editing the .conf file of your ftp daemon but we need to know which one to be of more help.
another option is to create a script that does the entire login process. I know how to do this in the bash shell but you will need to find someone who knows batch files written for DOS better than me to help you do it. [I am assuming this can be done because other command line environments do it, I may be wrong about DOS supporting it. |
***EDIT***
Deleted as it was for a linux ftp client |
It's
ftp.exe -s Put proper permissions on the file as it will contain user/password |
All times are GMT -5. The time now is 08:59 AM. |