FTP Connection Test

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cmhjon
Posts: 175
Joined: Tue Aug 04, 2015 11:55 am

FTP Connection Test

Post by cmhjon » Tue Aug 04, 2015 12:00 pm

Hello everyone,

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

Thank you so much,
Jon :)

cmhjon
Posts: 175
Joined: Tue Aug 04, 2015 11:55 am

Re: FTP Connection Test

Post by cmhjon » Mon Aug 10, 2015 10:28 pm

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 :-)

Post Reply

Return to “Internet”