从ftp服务器列出文件时,它会继续在././././目录中循环

时间:2019-05-17 10:56:39

标签: powershell ftp psftp

在尝试使用上述脚本从ftp服务器删除文件时,它会循环查找不存在的<!DOCTYPE html> <html> <head> <title>forms</title> <meta charset="UTF-8"> <meta http-equiv="X-UA-compatible" content="ie=edge"> </head> <body> <form class="myform"> <input type="text" placeholder="username" id="username" name=""> <input type="email" placeholder="Email" id="email" name="email"> <input type="password" placeholder="password" id="password" name="password"> <input type="password" placeholder="cpassword" id="cspassword" name="cpassword"> <button onclick="hi(event);">submit</button> </form> <script src="forms.js"></script> </body> </html>目录。脚本是否有任何错误,或者是psftpd中的错误?谁能帮我解决这个问题?这是从powershell控制台复制的循环线:

./././././

代码:

VERBOSE: Performing the operation "Remove item from ftp location" on target "ftp:/domain.com/.cagefs". 
VERBOSE: Use original path: domain.com/.cagefs 
VERBOSE: Remove additonal slash: domain.com/.cagefs 
VERBOSE: Path is directory 
VERBOSE: Use WebRequestMethods: LIST 
VERBOSE: Use original path: domain.com/.cagefs. 
VERBOSE: Remove additonal slash: domain.com/.cagefs. 
VERBOSE: Path is directory 
VERBOSE: Use WebRequestMethods: LIST 
VERBOSE: Use original path: domain.com/.cagefs/.. 
VERBOSE: Remove additonal slash: domain.com/.cagefs/.. 

0 个答案:

没有答案