Scripting FTP with WinSCP

Advertisement

MazukFarnas
Joined:
Posts:
1
Location:
United States

Scripting FTP with WinSCP

Greetings, I'm trying to automate a common FTP task due to my own laziness and am having some difficulty scripting in WinSCP.

I'm trying to search for example scripts because they help me logically piece together the processes but I'm not finding much out there.

What I want to do is transfer files on a schedule and delete the local files once they've been transferred.

Anyone know how to do this? Can this be done in Powershell instead?

Reply with quote

Advertisement

adrisan
Joined:
Posts:
1
Location:
caracas

sftp with TLS in windows command line

Hello

I need to connect to pure-ftpd server from windows command line . Iam executing:

winscp.exe sftp://ftpu:uftp@11.11.11.11:21 -passive -explicitssl -explicittls

but always i receive this message
host is not comunicating for more than 15 seconds, still waiting.

What can i do?

(from winscp windows client, i can connet correctly)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: sftp with TLS in windows command line

Pure-FTPd is FTP(S) server, not SFTP server.

So the command should be:
winscp.exe ftpes://ftpu:uftp@11.11.11.11

(No other switches are needed)

Reply with quote

Advertisement

You can post new topics in this forum