1. 当页面中是通过input标签实现上传功能时,可以使用selenium来上传功能. 如下: package com.test.upload; import java.io.File; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class UploadTest { public stat
今天用ssh传项目到公司总部的服务器上,报了错误: encountered 1 errors during the transfer 重启ssh再次上传还是一样的错误,然后我让公司那里重启一下服务器,还是报错,我挨个文件检查了一下,确实没有文件路径有()的,有()的路径肯定汇报这个错误 最后我又重启ssh,打开后没有更改保存的路径直接上传结果成功.