Page 1 of 1

FTP Connection Test

Posted: Tue Aug 04, 2015 12:00 pm
by cmhjon
Hello everyone,

Is there a way to test if an FTP site is up via script?

Thank you so much,
Jon :)

Re: FTP Connection Test

Posted: Mon Aug 10, 2015 10:28 pm
by cmhjon
With help from LC support, I got it working:

if the platform is "MacOS" then
get shell("ping -c 1 ftp address") --Mac Terminal Command
else
set the hideConsolewindows to true
get shell("ping -n 1 ftp address") --Windows CMD command
end if
(display results somehow)


Best regards,
Jon :-)