Script

FTP

The professional tool to automate FTP, SFTP, FTPS

and schedule FTP batch jobs

MENU MENU
Post here if you experience file transfer problems or unexpected errors.
Dear All,
I am trying to make my android ph FTP server using ES file explorer. This app provides ftp site with port other then default ftp site(192.268.1.252:3721).

While executing open host it gives follwing err:
OPENHOST("192.168.1.252:3721","dsr","********")
Connecting to 192.168.1.252:3721
····· OPENHOST Error #0
····· Hostname is invalid.Parameter name: serverName

STOP()
Stopping script execution
Kindly advice.
Regards.
DSR
Hi there,

Yes, of course. It is possible with the command SETPORT. You have to use it before OPENHOST:
FTP Script
  1. SETPORT(3721)
  2. OPENHOST("192.168.1.252","dsr","123456")
Thank you,