Topic "Post Login Command get"

Author Message
dmccook
[View user's profile]

Joined: 2014-04-07
Posts: 1
Hi,

Should I be able to use the "get" command in the Post Login Commands setting to download a file automatically after connection?

I just want to download one file, which I can do manually, but thought I'd try using the post login command, but it just comes back with "unknown command" when I use

get filename.dat

I realise I probably should use a script but why doesn't this work too?

Thanks
David.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Quoting https://winscp.net/eng/docs/ui_login_ftp :
Quote:
Use Post login commands to specify set of FTP protocol commands that should be issued automatically just after login. This is typically used to issue commands that change session configuration or state. Only commands that require no interaction with client can be used.


The get is not FTP protocol command. Equivalent is RETR. But still it's not a command that "require no interaction with client".
_________________
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