ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Post here if you experience file transfer problems or unexpected errors.
Hi I have tried to use script below but I am getting this error of:
Running C:\******\test.ftp

OPENHOST("***.***.***.***","*********",******)
Connecting to ***.***.***.***
Connected.

CHDIR("public_html")
Changing current remote directory to public_html

CHMOD("777","test.txt")
***** CHMOD Error #4: Operation timed out.

any one knows why I cant do it?
It means that the connection with the FTP server has been lost. To know why try enabling the verbose mode with VERBOSE(ON).
I have done as you said and found out that I need to change to active mode so I did,
although it works now and changes file attributes to 777 it posts some error anyway
at the end please have a look what else is wrong
VERBOSE(ON)
Verbose mode enabled

SETPASSIVE(DISABLED)
Disabling passive mode.

OPENHOST("*","*",*)
Connected.

CHDIR("/public_html")
Changing current remote directory to /public_html
CWD /public_html
250 OK. Current directory is /public_html
PWD
257 "/public_html" is your current location


CHMOD("777","1.php")
TYPE I
200 TYPE is now 8-bit binary
PORT *
200 PORT command successful
MLSD
150 Connecting to port 50965
226-ASCII
226-Options: -l
226 8 matches total
934 bytes transferred. (N/A/s) (0 ms)

Applying Unix file attributes for........ /public_html/1.php
SITE CHMOD 777 1.php
200 Permissions changed on 1.php

***** CHMOD Error #12006 : File "1.php" not found.

CLOSEHOST
QUIT
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.
Server closed connection

Disconnected.
you are right. It was a bug in the current ScriptFTP release (the one available under the download tab)

Plese, try with this one:

http://www.ScriptFTP.com/ScriptFTP_3_3_beta_setup.exe