Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Local Directory

Well, this behaviour is by design. Setting defaults affects only new sessions.
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.
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?