Topic "Command Line interpretation"

Author Message
JKrause

Guest


open sftp://user:password@example.com

this sample is used all over the place...
And I have tried searching
all over the place...

But WHAT does it mean ???
The individual parts, I mean ...

My best wild guess
sftp:// - use SFTP
user - the user ID
: - separate user ID and PW
password - your password
@example.com - the FTP site - more realistically - secureftp.mycompany.com ?, and the @ just means, well, AT ?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Your interpretation is correct.

See https://winscp.net/eng/docs/session_url

The example.com is a standard hostname reserved for examples.
See RFC 6761:
https://tools.ietf.org/html/rfc6761#section-6.5

One cannot use mycompany.com as that belongs to someone.
JKrause

Guest


Well, yes, that was my "example" rather than my real company name

And thank you for confirming my interpretation of the command line.

John
JKrause

Guest


SIGH

OK, I got a secure connection, by my PUT seems to fail.
Simple 2k text file
SCP seems to see it as 1K, ok for that...
Then sends 0.0KB/s Sad
And the file does not arrive

Standalone client (Filezilla) with the same credentials seems to work

Alt-Tab
Is there a way to Register as a user in these forums? I don't see a "Register" link.
Thanks
JKrause

Guest


OK
Success

Even though the login credentials Logg me in to the destination folder required, adding the slash-folder
/destfolder/
apparently was required, anyway.

I have successfully transferred data from a command line using a script file.

Thank you
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