|
הנה המדריך
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
How do I download multiple files from an FTP server?
Use the mget command, which is short for multiple get. Using
the mget command you can get multiple files by using
wildcards. For example, " mget *.* " would
get all files in the current directory.
By default, prompting would be enabled; if you wish to get all
files without being prompted, use the
"prompt" command to disable/enable
prompting.
When attempting to connect to an 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 an FTP server.
If you are unable to connect to any address, it is likely an
issue with the network or computer configuration.
Ensure that the network configuration settings are properly
setup as well as FTP rights.
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 connected, 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 bye 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
מ http://www.computerhope.com/software/ftp.htm
|