积极答复者
ftp下载的时候quote site filetype=jes什么意思,什么用?

问题
答案
全部回复
-
-
-
这里有一篇英文文章 大概能帮到你
Disclaimer - I've never used ftplib, so the code below hasn't actually
been tested..
First, create some JCL. For this example assume it is test.jcl and it
is in the CWD.
# Connect to the server
>>> from ftplib import FTP
>>> ftp = FTP("hostname") # connect to host, default port
>>> ftp.login("username", "password")
# Tell the server you're about to send it some JCL to execute
>>> ftp.voidcmd( "quote site file=JES" )
# Upload the JCL
>>> print ftp.storlines( "STOR", file("test.jcl") )
The last command ought to print ought the Job ID (and a few other things).
Good luck and let me know if that works for you. Also, some of those
methods will raise exceptions if something goes wrong. Check out
ftplib.py for good documentation.
jw
On Mon, 13 Sep 2004 10:56:57 +0200, Chris <> wrote:
> Is it possible to use Python to launch JCL jobs on an IBM MVS HOST (OS390) ?
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>hints:filetype:”是Google 开发的一个非常强大而且实用的搜索语法
XIAOMA STU 2008.12.6