-
Suppose the server IP is, and then share the directory of abc, and set it to anyone can modify it, the following is **:
echo off
exitSave as a double-click!
-
@echo off
echo open >
echo ftp_admin >>
echo password11 >>
echo cd .\user >>
echo binary>>
echo put "d:\user list\">>echo bye>>
ftpdel /q
pause was written directly. Please test.
The above ** is available in testing.
-
Assuming the server IP is yes, then share the directory of abc, and set it to anyone can modify it, here's **: @echo off copy c: docume 1 administrator application data"\"Y exit is saved as a double-click!
-
*This step can be combined with the first step and entered directly in "Run"."ftp "。If your FTP server does not use the default port of 21, if the port is 2121, then the command in this step should add 2121 to the following space, that is, "open 2121"*
You are prompted to enter a username*
You are prompted to enter the password, the password will not be displayed, and you can enter after typing the password. If you enter your password incorrectly, you will not be prompted to re-enter it, at which point you will have to type the "user" command, and a third step will appear, where you can re-enter your username and password. */
After you successfully log in, you can use the dir view command to view the files and directories in the FTP server, and the ls command can only view the files. */
Qint* creates the Qint directory in the root directory of the FTP server. */
qint * Enter the directory qint, use "cd your directory name" to enter the next level of the current directory, which is the same as dos. */
d:\qint
Locate the local default folder, which I created in advance on the d: drive. */10.!dir *View files and directories in your local folder*
Upload the files in the current directory (D: Qint) to the FTP server default directory. Yes"mput *.Upload all the files on the FTP server. */
Convert the files from the default directory of the FTP server to the current directory (D: Qint). Yes"mget *.Add all files to d: qint*
-
*This step can be combined with the first step and entered directly in "Run"."ftp "。If your FTP server does not use the default port of 21, if the port is 2121, then the command in this step should add 2121 to the following space, that is, "open 2121"*
You are prompted to enter a username*
You are prompted to enter the password, the password will not be displayed, and you can enter after typing the password. If you enter your password incorrectly, you will not be prompted to re-enter it, at which point you will have to type the "user" command, and a third step will appear, where you can re-enter your username and password. */
After you successfully log in, you can use the dir view command to view the files and directories in the FTP server, and the ls command can only view the files. */
Qint* creates the Qint directory in the root directory of the FTP server. */
qint * Enter the directory qint, use "cd your directory name" to enter the next level of the current directory, which is the same as dos. */
d:\qint
Locate the local default folder, which I created in advance on the d: drive. */10.!dir *View files and directories in your local folder*
Upload the files in the current directory (D: Qint) to the FTP server default directory. Yes"mput *."Upload all the files on the FTP server. */
-
What you said can't be called a function, it should be called a purpose, if you use a folder sharing or FTP server, plus batch processing to organize commands, it is technically possible to search and upload data.
-
Batch processing automatically uploads the file to the designated FTP, and the article is transferred to early infiltration to let the land bureau of Dezai studio shout buried.
-
This requires the creation of two files.
First file (batch file):
ftp(ping -n 2)>nul
0 second file (ftp script).
openuser username
password
lcd "d:\ftp"
put *.txt
mv "d:\ftp\*.txt" "d:\ftp\bak"
BYE will be placed in a folder and double-clicked when in use.
The script calls that will"d: ftp" to upload all txt-ending files""folder and then perform a backup"d: ftp *" to"d:\ftp\bak"。After each operation is completed, it is re-executed after a delay of 1 second.
ftp username and password, in the section.
Change the second and third lines (the uppercase part is the account and password, if FTP is anonymous access, the username and password are anonymous).
The delay time for each operation changes in the second line (change the value of -n 2 to the time required to delay + 1, and the time unit is 1 second).
-
open
After that, remove "Automatic Backup".
Personally, I understand that "Auto Backup" is the folder you want to go into.
Specifically, you should write it like this.
In case there is nothing wrong with the FTP server:
echo off
set fn=
if exist %fn% del %fn%echo open >%fn%
echo administrator>>%fn%echo 1324>>%fn%
echo lcd d:\>fn%
echo cd auto backup》%fn%.
echo mput >>fn%
echo bye>>%fn%
ftp -s:%fn%
del %fn% /q
echo off
taskkill /f /t /im >>>More
attrib c: windows system32 +h, pay attention to the spaces. >>>More
Open the "Notepad Program" ((or right-click on the blank space of the desktop "New "New "New Text Document" to create a new text document, and a "New Text File" will appear on the desktop to open it)) and then copy the netsh dump >d: to the open file window, then click on the "Menu Bar" to save as , after clicking a window will appear, change the file name to. >>>More
1. Create a new folder on the computer, create a new "txt" file, and name it. >>>More
Batch processing is no problem.
But may I ask yours is named like that? >>>More