`
jerome_wang
  • 浏览: 147948 次
  • 性别: Icon_minigender_1
  • 来自: 云南
社区版块
存档分类
最新评论

windows ftp 脚本

 
阅读更多

bat 内容

 

ftp -i -n -s:./test.src 192.168.128.7

 

test.src 内容 

user anonymous anonymous cd "patch" get "file" quit

 

登录是关键 登录后 里面的命令就有各位自由发挥了 

 

FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-A] [-x:sendbuffer] [-r:recvbuffer] [-b:asyncbuffers] [-w:windowsize] [host]

 

  -v              Suppresses display of remote server responses.

  -n              Suppresses auto-login upon initial connection.

  -i              Turns off interactive prompting during multiple file

                  transfers.

  -d              Enables debugging.

  -g              Disables filename globbing (see GLOB command).

  -s:filename     Specifies a text file containing FTP commands; the

                  commands will automatically run after FTP starts.

  -a              Use any local interface when binding data connection.

  -A              login as anonymous.

  -x:send sockbuf Overrides the default SO_SNDBUF size of 8192.

  -r:recv sockbuf Overrides the default SO_RCVBUF size of 8192.

  -b:async count  Overrides the default async count of 3

  -w:windowsize   Overrides the default transfer buffer size of 65535.

  host            Specifies the host name or IP address of the remote

                  host to connect to.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics