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.
Hi,

I am using a ScriptFTP_console.exe and when I sent the command PUTFILE, the program upload the file correctly but I
received the message "PUTFILE Error #17500: Cannot change current remote directory to ." . I saw in the forum that this error ocurred and the support team releases a new link to download but I got the version 3.3 but it isn´t working... Could you help me?
PUTFILE("D:\MDI_TEMP\XXXXX\92821303.txt")
Uploading................. 92821303.txt
PASV
227 Entering Passive Mode (129,9,237,2,87,220)
Opening data connection to 129.9.237.2 Port: 22492
STOR 92821303.txt
150 Open BINARY mode data connection for 92821303.txt (127,0,0,1,160,104).
607 bytes transferred. (N/A/s) (0 ms)
226 transfer complete.
CWD
500 syntax error or command unrecognized.

***** PUTFILE Error #17500: Cannot change current remote directory to .
***** The server said: syntax error or command unrecognized.
CWD
500 syntax error or command unrecognized.
This seems to be a ScriptFTP problem. I will file it a s bug. In the mean time try the following:

[ScriptFTP]LOCALCHDIR("D:\MDI_TEMP\XXXXX\")
PUTFILE("92821303.txt")[/ScriptFTP]