Topic "Local Directory change error in script"

Author Message
Guest

Guest


I've had a script working fine using the default local directory. However, when I add the command "lcd d:\<path1>" to my script I keep on getting "Error changing director to 'd:\<path1>'
The new directory is needed due to space errors.

Thanks.

Joe G.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
I do not understand the following:
Guest wrote:
The new directory is needed due to space errors.

_________________
Martin Prikryl
Guest

Guest


Due to the space on the local drive where WinSCP is running, the script needs to change to a different directory. When I add the line to the script to change the local directory, I get "Error in changing directory" message.

Thanks again.

Joe Gallenstein
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You should be able to change the directory from WinSCP console as long as you are able to make it working directory from other applications. Are you?
_________________
Martin Prikryl
Guest

Guest


Problem was due to restricted rights on the local directory the script was chaning to. Problem was corrected after permissions updated.

Thanks.

Joe
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License