Topic "Directory Syntax for Windows Servers."

Author Message
[View user's profile]

Joined: 2009-09-14
Posts: 2
Location: Newfoundland
Hi all,

I'm getting an error when trying to change directories after connecting to a Titan FTP server running on a windows box. Here is my simple script

open My_test:MeMeMe@MyServer
cd "d:/TestFolder/Testing"
option transfer binary
get test1.txt c:\temp\

The error I get is:

Error changing directory to 'd:\TestFolder\Testing'
Cannot get real path for '/d:\TestFolder\Testing'
No such file or directory
Error code:2

Is there special syntax for using windows paths in these automation scripts? I have tried both d:\TestFolder\Testing and d:/TestFolder/Testing both with the same results.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27082
Location: Prague, Czechia
Please read FAQ for general answer. Though I do not know about Titan.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License