i want to automate the task of uploading of a file at FTP site "uploads.google.com" how can i achive this
rishi
问问题
1924 次
2 回答
1
请看这里例如
于 2009-07-15T10:50:01.833 回答
1
示例之一如下所示:
- 准备一个包含所有 ftp 命令的文件(例如 ftp_cmd.txt),以将文件上传到我们的特定站点,如下所示:
二进制 cd mput 文件。*
再见
- 现在创建一个包含以下内容的批处理文件:
ftp -i -v -s:
例如:ftp -i -v -s:ftp_cmd.txt 更新.google.com
现在,当你执行这个批处理文件时,它会将所有格式为 file.* 的文件放到指定的目录下。
于 2009-07-15T10:56:55.580 回答