2014-07-17 1 views
0

일반적인 Windows 파일 공유와 마찬가지로 HTTP 주소에서 파일을 전송하는 데 BITS를 사용하는 예를 보았으므로 ftp로 가져오고 나가는 것이 좋습니다. 나는 오류가있어 두 경우 모두PowerShell BITS to FTP :: 드라이브를 찾을 수 없음

Start-BitsTransfer ` 
-Source ftp://username:[email protected]/file.zip ` 
-Destination c:\temp\file.zip 

Start-BitsTransfer ` 
-Source c:\temp\file2.zip ` 
-Destination ftp://username:[email protected]/file2.zip 

: 나는 아래 PowerShell을 명령을 사용 이처럼

Start-BitsTransfer : Cannot find drive. A drive with the name 'ftp' does not exist. 
At c:\temp\bits2ftp.ps1:3 char:1 
+ Start-BitsTransfer ` 
+ ~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : ObjectNotFound: (ftp:String) [Start-BitsTransfer], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : DriveNotFound,Microsoft.BackgroundIntelligentTransfer.Management.NewBitsTransferCommand 

을, 그러나 나는 내가 여기에 게시 줄 알았는데 ... 이렇게 할 수없는 가정 (예 : 특정 FTP 서버에서 작동합니까?) 할 수있는 방법이 있습니까?

전에 시도한 사람에 대한 언급이 없기 때문에 여기에 게시하여 다음 사람이 궁금해 할만한 Google 히트를 제공 할 것이라고 생각했습니다.

답변