Local Directory

Advertisement

Guest

Local Directory

Hi,

I use portable version of WinSCP 4.1.8. I execute exe with parameter /ini=data.ini.
In 'Environment' > 'Directories' in 'Local Directory' i have 'C:\WebServ\httpd' (saved 'Set Defaults') but when i connect to any ftp server my 'Home Directory' is 'My Documents'!

How I can change that?

Reply with quote

Advertisement

Guest

My ini file looks like that:

[Sessions\Default%20Settings]
LocalDirectory=C:%5CWebServ%5Chttpd
UpdateDirectories=1

When FTP data in ini file looks like that:

[Sessions\my_name]
LocalDirectory=C:%5CWebServ%5Chttpd
HostName=my_host_name
PortNumber=21
UserName=my_user_name
FSProtocol=5

everything is OK. Program load 'Home directory' path from [Session\my_name] > 'LocalDirectory'.

Log file:

. 2009-04-05 12:30:43.765 Proxy: none
. 2009-04-05 12:30:43.765 FTP: Passive: No
. 2009-04-05 12:30:43.765 Local directory: C:\WebServ\httpd, Remote directory: home, Update: No, Cache: Yes
. 2009-04-05 12:30:43.765 Cache directory changes: Yes, Permanent: Yes
. 2009-04-05 12:30:43.765 DST mode: 1

But if ftp data looks like that:

[Sessions\my_name]
HostName=my_host_name
PortNumber=21
UserName=my_user_name
FSProtocol=5

program don't load path from [Sessions\Default%20Settings] > 'LocalDirectory', and set 'Home directory' as 'default' - 'My Documents'.

Log file:

. 2009-04-05 12:34:14.484 Proxy: none
. 2009-04-05 12:34:14.484 FTP: Passive: No
. 2009-04-05 12:34:14.484 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-04-05 12:34:14.484 Cache directory changes: Yes, Permanent: Yes
. 2009-04-05 12:34:14.484 DST mode: 1

Can you fix this? Thanks for help.

Reply with quote

Advertisement

You can post new topics in this forum