81
Support and Feedback / Re: SFTP Connection fails
« Last post by Mathias (Author) on May 25, 2026, 09:40:12 »Actually it is libssh2 and Windows issues..
MultiCommander v15.8 is released!
```MultiScript
@var $filePath = GetSourceFocusPath();
@var $syspin = "C:\\Path\\To\\syspin.exe"; // Ensure double backslashes
// 1. Sanity Check: Prevent execution if no file is focused
if ( $filePath == "" ) {
return;
}
// 2. Format arguments cleanly without the cmd.exe syntax
@var $args = "\"" + $filePath + "\" 5386";
// 3. Direct Execution: Bypass cmd.exe completely
MC.Run CMD="{$syspin}" ARG="{$args}";
```
```SetWallpaperMCStretch.ps1
param([string]$ImagePath)
# Validate file exists
if (-not (Test-Path $ImagePath)) {
Write-Error "File not found: $ImagePath"
exit 1
}
# Load .NET Assembly for Image Processing
Add-Type -AssemblyName System.Drawing
# Define a clean, static path for the legacy BMP file
# Legacy screensavers handle paths without spaces much better
$BmpPath = "$env:USERPROFILE\classic_wallpaper.bmp"
# Convert the source image to a 24-bit BMP to satisfy the Win98 screensaver engine
try {
$SrcImage = [System.Drawing.Image]::FromFile($ImagePath)
# If a previous wallpaper BMP exists, delete it first to release file locks
if (Test-Path $BmpPath) {
Remove-Item $BmpPath -Force -ErrorAction SilentlyContinue
}
# Save as BMP format
$SrcImage.Save($BmpPath, [System.Drawing.Imaging.ImageFormat]::Bmp)
$SrcImage.Dispose()
}
catch {
Write-Error "Failed to process and convert image: $_"
exit 1
}
# Set style: Stretch (Style '2', Tile '0')
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop' -Name WallpaperStyle -Value '2'
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop' -Name TileWallpaper -Value '0'
# FORCE legacy wallpaper path update in the registry for the screensaver
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop' -Name Wallpaper -Value $BmpPath
# Apply wallpaper via Win32 API
Add-Type -TypeDefinition @"
using System;
using System.Runtime.InteropServices;
public class Wallpaper {
[DllImport("user32.dll", CharSet = CharSet.Auto)]
public static extern int SystemParametersInfo(int uAction, int uParam, string lpvParam, int fuWinIni);
}
"@ -ErrorAction SilentlyContinue
# SPI_SETDESKWALLPAPER = 0x0014 (20)
# SPIF_UPDATEINIFILE | SPIF_SENDCHANGE = 3
[Wallpaper]::SystemParametersInfo(20, 0, $BmpPath, 3)
```
```MultiScript
@var $imgPath = GetSourceFocusPath();
@var $arguments = "-ExecutionPolicy Bypass -File \"C:\\Path\\To\\SetWallpaperMCStretch.ps1\" -ImagePath \"" + $imgPath + "\"";
MC.Run CMD="powershell.exe" ARG="{$arguments}";
```
So what is happening ? items not added to queue at all ? What is the situation. lots of large /small files.. and you add to existing when there is allready a file operation in process... so it is not added to queue ? or something else.. ?Quote
I can't reproduce that. The column thing might be fixed with the other column issues that was fixed.. but the miscalculation of items I can't reproduce.
Thanks for fixing the column thing
I am still having the queue weirdness but I suspect that the fact I'm using a custom commmand & the NODIALOG option may be related as F6 has behaved better.
See attached CC dialog entry.
Quote
I can't reproduce that. The column thing might be fixed with the other column issues that was fixed.. but the miscalculation of items I can't reproduce.

Thanks, I'm trying claude at the moment. I will try to create an empty filter to quickly clear the filter.