I am using version 4.1.8 and have got a wise script which runs an automated file upload however I'm having an issue with the UNC path having a blank space ie "D:\Test\BOXIT\my[space]test\more[space]test\test"
This is the script:
Value=""""D:\Test\BOXIT\my test\more test\test""""
Command Line=/console /command "open XXXX\%PASS%" "option confirm off" "put %FILELOC1%\ /XXXX/XXXXX/Test" "exit"
I have tried the normal thing of using double quotes and even double double quotes but keeps erroring with the following:
[i][i]Searching for host...
Connecting to host...
Using username "XXXXX\XXXXX".
Authenticating with pre-entered password.
Starting the session...
Reading remote directory...
Active session:  XXXXX\XXXXX@ftp.XXXXX.co.uk
D:\Test\BOXIT\my | 0 KiB | 0.0 KiB/s | binary | 0%
File or folder 'D:\Test\BOXIT\my' does not exist.
System Error. Code: 2.
The system cannot find the file specified
(A)bort, (R)etry, (S)kip, Ski(p) all:[/i][/i]
As you can see it breaks the path at the blank space and errors.
Although we get round the issue by creating a static drive mapping that however requires a user account to be logged on 24x7, unfortunately when the machine is rebooted and the account is not logged back on, the automated script fails as it can no longer see the static drive mapping.
Any help would be greatly appreciated.