Topic "Open file on connect via stored session"

Author Message
ardbard

Guest


I have been trying to figure out how to automatically open a remote file when connecting to a stored session by passing parameters to "winscp.exe" but when I specify the stored as per "stored_session/file_path/file_name", WinSCP brings up the file copy dialog instead of opening the file. Does anyone know what I am doing wrong?
ardbard

Guest


Ok, I've made some progress now. Apparently, when specifying a directory, a slash has to be included after the directory as well eg "/dir/". This allows me to login directly to a directory, but when I try to specify a file as well, I get "the directory name is invalid".
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
You cannot do this with WinSCP yet.
This request is tracked here:
https://winscp.net/tracker/show_bug.cgi?id=14
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License