Topic "How to connect on remote server with option GUI"

Author Message
philFrance
[View user's profile]

Joined: 2013-04-09
Posts: 1
Location: France
Hello

I would like launch WinScp with interface GUI on remote directory in a batch file.

For example

1)
Folder1.bat
winscp 192.168.0.100 remoteDirectory:/Public/folder1

2)
Folder2.bat
winscp 192.168.0.100 remoteDirectory:/Public/folder2

Thank's
Phil
philDeFrance

Guest


Hi everybody

I found the solution.

I must create a session in interface GUI and save it (for example PHIPHI ).

I declare the folder in the menu Environnement / Directory. See attached picture.

Then I launch the command in DOS (cmd )
winscp.exe PHIPHI
Wincp1.png (36.56 KB)

Description: (none)

Wincp1.png

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
That's one way.
If you want to do it completely from command-line, specify the remote directory as part of session URL:
https://winscp.net/eng/docs/session_url
_________________
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