Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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:Re: How to use Paswordless WINSCP through Command prompt

I'm not sure if forward slashes may not cause a problem. In any case, please post a log file.
Mohit

Re:Re: How to use Paswordless WINSCP through Command prompt

i tried this

c:/downloads/winscp374.exe /console sftp://user@server /script=c:/pritest.bat /privatekey=c:/test_linux.ppk

again asking for password
Mohit

Re: direct link to files, sftp://user1@sftp.server.com/testfile.zip

i tried this

c:/downloads/winscp374.exe /console sftp://user@server /script=c:/pritest.bat /privatekey=c:/test_linux.ppk

again asking for password
martin

Re: How to use Paswordless WINSCP through Command prompt

It should be /privatekey=c:/test_linux.ppk
Mohit

How to use Paswordless WINSCP through Command prompt

i hav private key which is working fine
with winscp GUI but i hav to do this using command prompt.
so i m trying this command

c:/downloads/winscp374.exe /console /script=c:/pritest.bat sujan@10.122.108.25 privatekey=c:/test_linux.ppk

but it still asking for pasword..
UREGNT.....
martin

Re: winscp3.exe [(scp|sftp)://][user[:password]@]host[:port][/path]/[filename]

Guest wrote:

That would be great if we can have the additional commandline and not having to interactively mget/get a file:
winscp3.exe [(scp|sftp)://][user[:password]@]host[:port][/path][filename]

Scripting/automation feature is on current user poll, you may add a vote.
Guest

winscp3.exe [(scp|sftp)://][user[:password]@]host[:port][/path]/[filename]

That would be great if we can have the additional commandline and not having to interactively mget/get a file:
winscp3.exe [(scp|sftp)://][user[:password]@]host[:port][/path][filename]
bobsmith

that's great! i just voted for this feature. thanks for the great program, it's very helpful to me. bob.
martin

Re: direct link to files, sftp://user1@sftp.server.com/testfile.zip

WinSCP cannot handle URL's pointing to file yet. But it is already on the wishlist :-)
bobsmith

direct link to files, sftp://user1@sftp.server.com/testfile.zip

hi, i know that winscp is registered to open sftp:// and scp:// links, but can it be used to directly download a file if given this url?

sftp://user1@sftp.server.com/testfile.zip

or

scp://user1@sftp.server.com/testfile.zip

i have a passwordless private key so i can login without having to supply a password. is there any way to do this? i'm modeling it after the standard ftp://ftpusr:passwd@ftp.server.com/file.zip.

right now, if i set up a web page with the link above (scp://user1@sftp.server.com/testfile.zip), it opens winscp, i get prompted for my password, and then it says it can't cd to the testfile.zip directory. i'd like it to recognize my private key, and start downloading the file immediately like a normal http download. any ideas on if this will work? thanks, bob.