Want this question answered?
by using BYE
I would try 'exit'.
All files in a directly can be copied without copying the sub directories using FTP by first highlighting them. This allows a user to specifically select only the files they want to transfer. If you are doing this via the command line interface using the mget command with a mask (such as *) will transfer all files except subdirectories.
BYE = Disconnect the FTP session
bye or quit
A number of people in answering a similar question are saying to use the BYE command
Most Linux systems will have ftp available as a command line option. Try entering "man ftp" in terminal mode to make sure you have it, and to learn the various ftp commands. Typically, you will have to know the ftp site name and the user name and password assigned to you for that ftp site. You will start the ftp session by typing something like: ftp www.mysite.net At the ftp prompt, enter your user name and password, if the server requests that you sign in anonymously place "anonymous" or "ftp" in the username field and leave the password field blank. Then use the ftp commands (e.g 'ls' 'put' 'get' 'cd' 'chmod') to transfer and maintain files at your site. If you prefer a GUI interface, there may be some X Windows ftp clients available for download. Google 'ftp Linux' and see what you can find. I prefer the plain command line version. Much quicker and easier once you learn the commands.
Transfer file from and to mainframe using FTP You can use FTP dos command to transfer files from and to mainframe Step1: Start --> Run --> Command Step2: Enter the following command FTP XX.XXX.XX.XXX Where XX.XXX.XX.XXX is the ip address of mainframe Step3: When you are prompted for user name and password, provide your mainframe id and mainframe password Step4: To download the file from mainframe to PC Get 'FIIE.ON.MAINFRAME' D:\MYFILES\TEST.TXT To Upload the file to mainframe from PC PUT D:\MYFILES\TEST.TXT 'FILE.ON.MAINFRAM'
There are several ways to do it, but as FTP directories are generally accessible from a web interface, it is easier to do it that way. In a web browser, enter a URL likeftp://www.domain.com/stuff/junk.txtFrom the command line, use wget.wget ftp://www.domain.com/stuff/junk.txtLogging into an FTP, either anonymously or with a username, is generally not necessary to simply download the files.
Generally port 21 is for FTP 22 for FTP using SSH 990 FTP using SSL
bye or quit BYE - Disconnect the FTP session Found in A+ Guide to managing and maintaing you PC pg. 979
mdelete is a command to delete files over FTP. Whether or not it's a valid script command would depend on the scripting language.