当前位置:网站首页>bat操作ftp上传下载命令
bat操作ftp上传下载命令
2022-07-01 05:37:00 【pursue.dreams】
ftp上传
创建bat脚本
@echo off
echo open ftp服务器ip地址>>ftp.tmp
echo 用户名>>ftp.tmp
echo 密码>>ftp.tmp
echo lcd 本地目录>>ftp.tmp
echo mput 文件名>>ftp.tmp
echo y>>ftp.tmp
echo bye>>ftp.tmp
echo exit>>ftp.tmp
::以上将ftp命令,临时生成在ftp.tmp文件中
::执行ftp.tmp中的命令
ftp -s:ftp.tmp
:: 删除生成的临时文件
del ftp.tmp
@echo on
ftp下载
创建bat脚本
@echo off
echo open ftp服务器ip地址>>ftp.tmp
echo 用户名>>ftp.tmp
echo 密码>>ftp.tmp
echo lcd 本地目录>>ftp.tmp
echo mget 文件名>>ftp.tmp
echo y>>ftp.tmp
echo bye>>ftp.tmp
echo exit>>ftp.tmp
::以上将ftp命令,临时生成在ftp.tmp文件中
::执行ftp.tmp中的命令
ftp -s:ftp.tmp
:: 删除生成的临时文件
del ftp.tmp
@echo on
边栏推荐
- 2022.6.30-----leetcode.1175
- HDU - 1069 Monkey and Banana(DP+LIS)
- Introduction to 3D modeling and processing software Liu Ligang University of science and technology of China
- Redis数据库的部署及常用命令
- MySQL converts milliseconds to time string
- Educational administration management system (free source code)
- Simple implementation of database connection pool
- 运行时候的导包搜索路径虽然pycharm中标红但不影响程序的执行
- el-form表单新增表单项动态校验;el-form校验动态表单v-if不生效;
- Brief description of activation function
猜你喜欢

Set set detailed explanation

Series of improving enterprise product delivery efficiency (1) -- one click installation and upgrade of enterprise applications

Leetcode top 100 question 2 Add two numbers

El cascade echo failed; El cascader does not echo

rust猜数字游戏

Dynamic verification of new form items in El form; El form verifies that the dynamic form V-IF does not take effect;

One click deployment of highly available emqx clusters in rainbow

Unity项目心得总结

Learn the customization and testing of fpga---ram IP from the bottom structure

云原生存储解决方案Rook-Ceph与Rainbond结合的实践
随机推荐
JSON data comparer
idea启动查看项目端口
More than one file was found with OS independent path ‘lib/armeabi-v7a/libyuv. so‘.
Detailed explanation of set
Data governance: data governance management (Part V)
Rainbow combines neuvector to practice container safety management
教务管理系统(免费源码获取)
HCM 初学 ( 一 ) - 简介
Txncoordsender of cockroachdb distributed transaction source code analysis
In depth understanding of condition source code interpretation and analysis of concurrent programming
Ssgssrcsr differences
How to create a progress bar that changes color according to progress
Rust hello-word
[excel] column operation, which performs specific column for data in a cell, such as text division by comma, colon, space, etc
Memtable for leveldb source code analysis
Speed regulation and stroke control based on Ti drv8424 driving stepper motor
[RootersCTF2019]babyWeb
What things you didn't understand when you were a child and didn't understand until you grew up?
Mathematical knowledge: finding the number of divisors
A little assistant for teenagers' physiological health knowledge based on wechat applet (free source code + project introduction + operation introduction + operation screenshot + Thesis)