Answered question

How could I connect to an FTPS server using a javascript?

For my load testing, I have a need for my virtual users to connect to a ftpS server and put some files.

I saw this helps , but is based on the FTP class, I need to do with ftpSclient () , you could help me with this ?.

at this time I get this response 500 Illegal PORT command .


Carlos Darío S.
Carlos Darío S.

Carlos Darío S.

15 / 100

It can easily be done by loading the package FTPSClient instead of FTPClient in the link you provided.

So for instance use "myFTPClient =new;"

The same methods are working for FTPClient and FTPSClient.

For more information you can check that link

Did you find this useful ?

No (0)

Yes (1)


100% of users found this answer useful