Script

FTP

The professional tool to automate FTP, SFTP, FTPS

and schedule FTP batch jobs

MENU MENU
Post a message here if you find anything wrong in ScriptFTP.
Hi.
I'm using V4.
In an old script i'm using LOCALCHDIR to point to a network share: in V3 all is working fine, but in new V4 it is not honoured.
Following the test inside the script
[scriptftp="network_share.ftp"]$LOCAL_DIR="\\fs02\Acquisti Food\INTERMEDIA 2014"
PRINT("LOCAL_DIR:".$LOCAL_DIR)
LOCALCHDIR($LOCAL_DIR)[/ScriptFTP]

and the result:

Running script...
LOCAL_DIR:\\fs02\Acquisti Food\INTERMEDIA 2014

LOCALCHDIR("\\fs02\Acquisti Food\INTERMEDIA 2014")
****** LOCALCHDIR error #15000
****** Could not find a part of the path 'D:\fs02\Acquisti Food\INTERMEDIA 2014\'.
Why does it use the "D:" drive? Obviously it doesn't exist there.

Best Regards.
Hi,
Why does it use the "D:" drive? Obviously it doesn't exist there.
Yes, this is a bug of the ScriptFTP 4 Beta. I have just fixed it, you just need to download and install the program again and it should work.

http://www.scriptftp.com/downloads/ScriptFTP_setup.msi

If the problem persists, please post here
Hi Carlos.
Now the network share is honored.
Well done.
Thank you.