我尝试将文件从本地计算机发送到服务器。你知道吗
t= subprocess.Popen(['curl', '-T', '/home/test/Downloads/my_own.xml',
'http://far_away_server/'], stdout = subprocess.PIPE, stderr = subprocess.PIPE)
在stderr我看到:
usage: curl [file] [URL]
[file] [HTTP] fetches a file from an 'http' URL
[file] [HTTPS] fetches a file from an 'https' URL
[file] [FTP] fetches a file from a 'ftp' URL
我的错在哪里?你知道吗
必须工作。。。你知道吗
相关问题 更多 >
编程相关推荐