Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Unexpected directory change to F:\

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
CrazyJannis44

Unexpected directory change to F:\

Hello guys,
I'm German and when I run WinSCP with the following script:
option batch abort

option confirm off
open sftp://pi:------%21@192.168.178.200/ -hostkey="ssh-ed25519 -------vas=" #--- = censored
get /home/pi/--------/*
exit

It returns the following error:
confirm         off

Entfernter Rechner wird gesucht …
Verbindung mit entferntem Rechner wird hergestellt …
Authentifizierung …
Benutzername „pi“ wird verwendet.
Authentifikation mit zuvor eingegebenem Passwort.
Authentifiziert.
Die Sitzung wird gestartet …
Sitzung gestartet.
Fehler beim Wechseln in Verzeichnis „F:\“.
Systemfehler. Code: 3.
Das System kann den angegebenen Pfad nicht finden
Aktive Sitzung: [1] pi@192.168.178.200

What means: connected.... ----> Error while changing to directory F:\ ---> Systemerror code 3 -----> The system can't find the specified path

Can someone help me? I don't know from where the F directory comes.