jianghaiqing 1 year ago
commit ec85f7c0af

@ -427,6 +427,8 @@ namespace Myshipping.Application.EDI
par.Add("username", ftpset.USERNAME);
par.Add("pwd", ftpset.PASSWORD);
par.Add("path", ftpset.FOLDERNAME);
par.Add("pasv", (!ftpset.FtpModeActive).ToString());
Log.Information($"准备请求发送ftp{ftpSpiderUrl} ,参数:{par.ToJsonString()},文件:{ediFileName}");
var res = FTPHelper.TransmitFtpFile(ftpSpiderUrl, par, new
@ -531,6 +533,7 @@ namespace Myshipping.Application.EDI
par.Add("username", ftpset.USERNAME);
par.Add("pwd", ftpset.PASSWORD);
par.Add("path", ftpset.FOLDERNAME);
par.Add("pasv", (!ftpset.FtpModeActive).ToString());
Log.Information($"准备请求发送ftp{ftpSpiderUrl} ,参数:{par.ToJsonString()},文件:{ediFileName}");
var res = FTPHelper.TransmitFtpFile(ftpSpiderUrl, par, new

Loading…
Cancel
Save