LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   terminal based ftp application (https://www.linuxquestions.org/questions/linux-software-2/terminal-based-ftp-application-472926/)

linuxmandrake 08-11-2006 07:18 AM

terminal based ftp application
 
Is there an ftp client which can be used within a bash script in such a way that everything is specified on one line. for eg ftp [host] [username] [password] [file to upload] [destination directory on server] I'm using a live cd at university because windows takes ages to boot up and sometimes it cant bloody find the server. Hence I dont get my usual storeage space. However the storeage space can be accessed via ftp. It's easier and dont have to nag technicians for technical details about the servers.

While am at it does anyone know what command do I use to lock the screen (KDE 3.4) via the terminal

ethics 08-11-2006 07:52 AM

errrr...you answered your own question i believe

Code:

man ftp
it's the basic ftp command, man will give you it's options, ncie to call from a shell script

as for locking the screen, xscreensaver does mine, maybe look into that

linuxmandrake 08-11-2006 08:13 AM

that what i thought before i posted but the man synopsis doesn't say it can do that. Unless am misunderstanding the man pages. It's giving the impression u have to type in commands to upload and navigation to a directory


All times are GMT -5. The time now is 06:00 AM.