Page 1 of 1

Download from a FTP-SSL

Posted: Mon Nov 13, 2017 10:54 pm
by florian
Hello,

I would like to download files from a "FTP-SSL AUTH-TLS" (see screenshot).
However I don't how to do that within Switch, could you please explain to me what I need to do - connection have to use a certificate.

sreen.png
sreen.png (94.58 KiB) Viewed 8756 times
[/size]

Re: Download from a FTP-SSL

Posted: Tue Nov 14, 2017 3:25 pm
by gabrielp
Search the forums for "ftps". AFAIK, Switch supports sftp but not ftps, but others have pointed out workarounds.

Re: Download from a FTP-SSL

Posted: Tue Nov 14, 2017 3:49 pm
by florian
ok, thanks for your replie

Re: Download from a FTP-SSL

Posted: Fri Nov 24, 2017 3:32 pm
by sander
I do this with WinSCP.

Example batch, but can be done with PowerShell too;

Code: Select all

@echo off

"d:\Scripts\WinSCP\WinSCP.com" ^
  /log="D:\Flows\Incoming\ftps.log" /ini=nul ^
  /command ^
    "open ftps://username:password@ftps.lorem.com" ^
    "get -delete /TESTNAVOUT/* D:\Flows\Incoming\xml\ -filemask=*.xml" ^
    "synchronize local D:\Flows\Incoming\pdf /TFB/TESTARTWORK/ -filemask=*.pdf" ^
    "synchronize local D:\Flows\Incoming\jpg /TFB/TESTARTWORK/ -filemask=*.jpg" ^
    "exit"

set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
  echo Success
) else (
  echo Error
)

exit /b %WINSCP_RESULT%

Re: Download from a FTP-SSL

Posted: Mon Feb 05, 2018 4:46 pm
by abonsey
Does Switch still not support FTPS?? I run the latest version of Switch.
Has anybody got it to work and have examples that could help me out as we've never set this up before.

TIA
Andrew