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: PLEASE, command-line options

Björn wrote:

But I must say network installation is not really stable jet. Sometimes WinSCP misses changes made, and sometimes it wouldn't delete sessions (after restart they appear again). Workaround : When making changes, change to registry, and back to ini afterwards.

Can you tell me some sequence of steps you do that would show actual problem?
Björn

Re: PLEASE, command-line options

martin wrote:

However better solution for you is to configure session and save settings to INI file instead of registry (see preferences dialog).

Right. You just forgot to mention that WinSCP has to be installed on a network drive first. Then set to use INI-File, also correct all other (local) paths to network drives. Then store your sessions. now you can call them from any network client from commandline.

But I must say network installation is not really stable jet. Sometimes WinSCP misses changes made, and sometimes it wouldn't delete sessions (after restart they appear again). Workaround : When making changes, change to registry, and back to ini afterwards.

Björn
martin

Re: PLEASE, command-line options

OK, I may add port option on command line. However better solution for you is to configure session and save settings to INI file instead of registry (see preferences dialog). Than you may specify name of the stored session to open on command line.
Guest

Re: PLEASE, command-line options

I also could make use of command line options, I operate on several different machines on a network, none of which remember any settings.

When i log in, the network executes a startup script that loads various programs for me. While I can enter into the script something along the lines of 'WinScp user@host', I find errors when I add 'WinScp user@host:port' because it tries to resolve host:port as a domain name.

Essentially, I want to be able to start a session on a custom port from command line without using a pre-saved profile, rather than just transfer one file.

Perhaps theres an option I'm missing, if not then surely something as minor as custom ports from the command line can be added to the next version - please?!

Many Thanks
martin

Re: PLEASE, command-line options

Use some command line SCP tool. PSCP for example.
leandro_sa

PLEASE, command-line options

i really really need the ability to send files with command-line options , like
winscp file.txt 200.245.323.121:/root

just like in linux.. ;)