Topic "Post Login Command get"

Author Message
[View user's profile]

Joined: 2014-04-07
Posts: 1

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?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24755
Location: Prague, Czechia
Quoting :
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

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License