Tag Info

New answers tagged

0

I re-wrote the script a bit and got it working without using the FTP protocol. I changed it to use the move command instead: $down = "C:\Script\log\down-hosts.log" $computers = Get-Content "C:\Script\list\Computers.txt" $TargetPath = "\\ServerName\ShareName\Path" $SourceFileName = "source_file.csv" foreach ($computer in $computers) { if ( Test-Connection ...


0

You are getting a misleading error since it is probably trying to execute a POST request on the sftp backend you have specified. The UploadFile method sends a local file to a resource. This method uses the STOR command to upload an FTP resource. For an HTTP resource, the POST method is used. Reference: ...


0

No, it does not. Git over ssh works by launching the git-upload-pack command via SSH. It does not copy files like sftp/scp do.


0

This isn't really a docker specific problem. There are a couple of ways you could solve this. 1) Use stateful iptables rules to allow connections inbound and related/established traffic then block everything else. 2) Use an sftp only service such as Proftpd that is incapable of running a shell. In general, if you don't allow your users to get a shell and ...


0

Try disabling your anti-virus software temporarily. I had this problem and disabling AVG 2014 allowed the uploads to proceed per normal from my dev PC to the server. This could also be caused by Windows Defender and AVG trying to scan the same data stream at once if you have Windows 8, although I can't confirm the hypothesis.



Top 50 recent answers are included