将文件从ftp复制到本地错误 [英] copy files from ftp to local error

查看:174
本文介绍了将文件从ftp复制到本地错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试从我的ftp服务器 ftp://ftp.prodega.ch 复制大量文件,所以我创建了一个名为的文件, code.txt 加上这段文字:

  open ftp.prodega.ch 
user
密码
lcd E:\ f2
cd Bilder1
get file1.jpg
bye

然后我在命令提示符下执行以下命令:

  ftp -s :code.txt 

文件 file1.jpg 正在复制到本地 E:\ f2 文件夹中;我尝试使用 mget * 而不是来获取ftp文件夹 Bilder1 中的所有文件get file1 .jpg 但它不起作用。



第一张图片复制成功,但第二张图片(使用





我将如何复制这些文件?

解决方案

尝试在命令提示符中输入以下命令: $ b

  ftp -i -s:code.txt 


I try to copy a lot of files from my ftp server ftp://ftp.prodega.ch, so I created a file called code.txt with this text:

open ftp.prodega.ch
user
password
lcd E:\f2      
cd Bilder1     
get file1.jpg
bye

Then I execute the following command in the command prompt:

ftp -s:code.txt

The file file1.jpg is copying into local E:\f2 folder; I try to copy all files from the ftp folder Bilder1 using mget * instead of get file1.jpg but it doesn't work.

The first image is copied successfully, but the second image (using mget *) doesn't get copied and showed this result:

How would I be able to copy these files?

解决方案

Try entering this command into your command prompt:

ftp -i -s:code.txt

这篇关于将文件从ftp复制到本地错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆