zvicar v c:\xitami\xitami.cfg dodas portbase=1000 c:\>ftp 172.19.3.60 Connected to 172.19.3.60 user (172.19.3.60): zvicar Password: ftp> get x.jpg close lcd open rmdir ftp> send Local file x.jpg Remote file aa.jpg 200 PORT command successful. 150 Opening BINARY mode data connection for aa.jpg. 226 Transfer complete. ftp: 2531 bytes sent in 0.00Seconds 2531000.00Kbytes/sec. ftp> ftp> recv x.jpg c:\up\dd.jpg 200 PORT command successful. 150 Opening BINARY mode data connection for x.jpg (2531 bytes). 226 Transfer complete. ftp: 2531 bytes received in 0.00Seconds 2531000.00Kbytes/sec. ftp> http://www.computerhope.com/software/ftp.htm How do I send and receive files once connected in MS-DOS FTP? To get files from the server and place them in your current working directory on the machine you are working type: get myfile.htm Where myfile.htm is the name of the file you wish to get from the computer connected to. To send a file from your computer to the computer you are connected to (providing you have proper rights and the file exists in the current working directory), type: send myfile.htm Where myfile.htm is the name of the file that exists in the current directory, if you cannot recall the name of the file use the ! command to temporally get back to a MS-DOS prompt once you have located the file name type exit to get back to the location you left in FTP. In MS-DOS FTP I am only able to send files in the directory that I typed FTP in. Set the LCD, for example if you want to send files that are in the C:\WINDOWS directory type: LCD c:\windows When attempting to connect to a FTP address receiving "10061" error This error is caused when the server is refusing the connection. Attempt to connect to an alternate FTP address. If you are able to connect to other FTP addresses it is likely the site generating the error 10061 is refusing to accept your connection because of security privileges or because it is not a FTP server. If you are unable to connect to any address it is likely a issue with the network or computer configuration. 1. Ensure that the network configuration settings are properly setup as well as FTP rights. 2. Verify that the firewall is properly setup to accept FTP access. How to create a Windows FTP script Create a text document with commands used when in FTP. Below is an example of what such a script may look like: open ftp.domain.com username password cd public_html dir get file.txt bye The above script will log into the ftp site ftp.domain.com. Once logged in it will enter the username and then the password (substitute username for your username and password for your password). Once logged in the script then goes into the public_html directory gets a directory listing and then uses the get command to get the file called file.txt. Once the file is received it logs off using the by command. Once the script file has been created for example if it was called script.txt to execute this script with ftp you would type: ftp -s:script.txt =============================== Spodaj je ftp_proc1.txt open virga.rzs-hm.si zvicar xxxxx cd c:\up\razno dir binary get x.jpg bye C:\up\razno>ftp -s:ftp_proc1.txt 226 Transfer complete. ftp: 3116 bytes received in 0.00Seconds 3116000.00Kbytes/sec. ftp> binary 200 Type set to I. ftp> get x.jpg 200 PORT command successful. 150 Opening BINARY mode data connection for x.jpg (2531 bytes). 226 Transfer complete. ftp: 2531 bytes received in 0.00Seconds 2531000.00Kbytes/sec. ftp> bye 221-You have transferred 2531 bytes in 1 files. C:\up\razno>ftp virga.rzs-hm.si Connected to virga.rzs-hm.si. 220 virga.rzs-hm.si FTP server (Version wu-2.6.2-5) ready. User (virga.rzs-hm.si:(none)): base 331 Password required for base. Password:s*****k 230 User base logged in. Access restrictions apply. ftp> dir ftp> recv /VNOS/KKD/K0192005.FEB c:\up\razno\kkkk.jan 200 PORT command successful. 150 Opening ASCII mode data connection for /VNOS/KKD/K0192005.FEB (290 bytes). 226 Transfer complete. ftp: 292 bytes received in 0.00Seconds 292000.00Kbytes/sec. ftp>