当前位置:网站首页>Bat operation FTP upload and download command
Bat operation FTP upload and download command
2022-07-01 05:45:00 【pursue. dreams】
ftp Upload
establish bat Script
@echo off
echo open ftp The server ip Address >>ftp.tmp
echo user name >>ftp.tmp
echo password >>ftp.tmp
echo lcd Local directory >>ftp.tmp
echo mput file name >>ftp.tmp
echo y>>ftp.tmp
echo bye>>ftp.tmp
echo exit>>ftp.tmp
:: General ftp command , Temporary build on ftp.tmp In file
:: perform ftp.tmp The command
ftp -s:ftp.tmp
:: Delete the generated temporary file
del ftp.tmp
@echo on
ftp download
establish bat Script
@echo off
echo open ftp The server ip Address >>ftp.tmp
echo user name >>ftp.tmp
echo password >>ftp.tmp
echo lcd Local directory >>ftp.tmp
echo mget file name >>ftp.tmp
echo y>>ftp.tmp
echo bye>>ftp.tmp
echo exit>>ftp.tmp
:: General ftp command , Temporary build on ftp.tmp In file
:: perform ftp.tmp The command
ftp -s:ftp.tmp
:: Delete the generated temporary file
del ftp.tmp
@echo on
边栏推荐
- Don't put your notes and videos everywhere!
- It's not that you have a bad mind, but that you haven't found the right tool
- Send you through the data cloud
- 2022.6.30-----leetcode.1175
- ssm+mysql二手交易网站(论文+源码获取链接)
- [SRS] use of Vhost isolated stream: push / pull Stream Address
- 输入一个表达式(用字符串表示),求这个表达式的值。
- 运行时候的导包搜索路径虽然pycharm中标红但不影响程序的执行
- Ssm+mysql second-hand trading website (thesis + source code access link)
- Web Security (x) what is OAuth 2.0?
猜你喜欢

Daily code 300 lines learning notes day 11

Leetcode top 100 questions 1 Sum of two numbers

喊我们大学生个人云服务特供商

2/15 (awk, awk conditions, awk processing design can perform additional tasks, and use awk array +for loop to realize advanced search)

Multi table operation - foreign key cascade operation

How to add a gourd pie plate

In depth understanding of condition source code interpretation and analysis of concurrent programming

excel高级绘图技巧100讲(一)-用甘特图来展示项目进度情况

How to create a progress bar that changes color according to progress

为了保护自己的数据,他奋斗了一天一夜
随机推荐
scope 数据导出mat
json数据比较器
千万不要把笔记视频乱放!
excel高级绘图技巧100讲(一)-用甘特图来展示项目进度情况
论文学习记录随笔 多标签之GLOCAL
JSON data comparer
RecycleView的一些使用
[ffmpeg] [reprint] image mosaic: picture in picture with wheat
LeetCode 最大矩形,最大正方形系列 84. 85. 221. 1277. 1725. (单调栈,动态规划)
Printk debugging summary
【问题思考总结】为什么寄存器清零是在用户态进行的?
【笔记】电商订单数据分析实战
Continue to learn MySQL
Flowable source code comment (XXXIX) task listener
Data governance: metadata management implementation (Part IV)
多表操作-外键级联操作
Web Security (IX) what is JWT?
Deeply understand the underlying implementation principle of countdownlatch in concurrent programming
boot+jsp的高校社團管理系統(附源碼下載鏈接)
为了保护自己的数据,他奋斗了一天一夜