来自Access的ftp:问题 [英] ftp from Access: problems

查看:50
本文介绍了来自Access的ftp:问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从Access 2003模块:v = Shell(ftp.exe -s:D:\ftpCommands.txt)


D:\ftpCommands的内容。 txt

----------------------------------

打开ftp.destination.com

用户密码

发送sourceFile destFile

再见

结果:

ftp> | $

无效命令

有什么想法吗?

From an Access 2003 module: v = Shell("ftp.exe -s:D:\ftpCommands.txt")

Contents of D:\ftpCommands.txt
----------------------------------
open ftp.destination.com
user password
send sourceFile destFile
bye
Results:
ftp> |o
invalid command
Any ideas?

推荐答案

发送?


你在寻找Put


如果你打开一个命令窗口,启动ftp然后输入?在ftp>提示

它将列出有效的ftp命令。

-

Terry Kreft


" ; DFS" < nospam@dfs_.com>在消息中写道

新闻:S1 ****************** @ fe04.lga ...
Send?

You''re looking for Put

If you open a command window, start ftp and then enter ? at the ftp> prompt
it will list the valid ftp commands.
--
Terry Kreft

"DFS" <nospam@dfs_.com> wrote in message
news:S1******************@fe04.lga...
来自Access 2003模块:v = Shell(ftp.exe -s:D:\ftpCommands.txt)

D:\ ftpCommands.txt的内容
----- -----------------------------
打开ftp.destination.com
用户密码
发送sourceFile destFile
再见

结果:
ftp> | o
无效命令

有什么想法吗?
From an Access 2003 module: v = Shell("ftp.exe -s:D:\ftpCommands.txt")

Contents of D:\ftpCommands.txt
----------------------------------
open ftp.destination.com
user password
send sourceFile destFile
bye
Results:
ftp> |o
invalid command
Any ideas?



我想我应该检查一下你的脚本找到错误,但你可以只下载我的工作FTP工具
。它显示用于下载,上传,删除和获取目录列表的FTP命令......它可以工作。

http://www.databasejournal.com/featu...le.php/3513061


-

Danny J. Lesandrini
dl ********* @ hotmail.com
http://amazecreations.com/datafast

" DFS" < nospam@dfs_.com>写了...
I suppose I should examine your script to find the error, but you could just
download my working FTP tool. It displays the FTP commands used to
download, upload, delete and get directory list ... and it works.

http://www.databasejournal.com/featu...le.php/3513061

--

Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast
"DFS" <nospam@dfs_.com> wrote ...
来自Access 2003模块:v = Shell(" ftp.exe -s:D:\ ftpCommands.txt")

D的内容:\ ftpCommands.txt
----------------------------------
打开ftp .destination.com
用户密码
发送sourceFile destFile
再见

结果:
ftp> | o
无效命令

有什么想法吗?
From an Access 2003 module: v = Shell("ftp.exe -s:D:\ftpCommands.txt")

Contents of D:\ftpCommands.txt
----------------------------------
open ftp.destination.com
user password
send sourceFile destFile
bye
Results:
ftp> |o
invalid command
Any ideas?



Terry Kreft写道:
Terry Kreft wrote:
发送?

你在寻找Put

如果你打开一个命令窗口,启动ftp然后输入?在ftp>
提示符下,它将列出有效的ftp命令。


发送工作正常。但脚本永远不会到达那里。

ftp -s:D:\ftpCommands.txt ftp.destination.com


它连接得很好,但是登录时出错。


DFS < nospam@dfs_.com>在消息中写道
新闻:S1 ****************** @ fe04.lga ...
Send?

You''re looking for Put

If you open a command window, start ftp and then enter ? at the ftp>
prompt it will list the valid ftp commands.
Send works fine. But the script never gets there.
ftp -s:D:\ftpCommands.txt ftp.destination.com

And it connects just fine, but errors out on the login.


"DFS" <nospam@dfs_.com> wrote in message
news:S1******************@fe04.lga...
来自Access 2003模块:v = Shell(" ftp.exe
-s:D:\ ftpCommands.txt")

D:\ ftpCommands.txt的内容
----- -----------------------------
打开ftp.destination.com
用户密码
发送sourceFile destFile
再见

结果:
ftp> | o
无效命令

有什么想法吗?
From an Access 2003 module: v = Shell("ftp.exe
-s:D:\ftpCommands.txt")

Contents of D:\ftpCommands.txt
----------------------------------
open ftp.destination.com
user password
send sourceFile destFile
bye
Results:
ftp> |o
invalid command
Any ideas?



这篇关于来自Access的ftp:问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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