Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (240 points)
It seems both method can take you to a target location.
That is, FtpConnection.ServerDirectory = "/DirA/MyLocation" does the same thing as FtpConnection.ChangeWorkingDirectory("/DirA/MyLocation")
I wonder if there's any difference between the two in terms of getting to your desired location in the remote server.
Our codeset makes use of the former in many sections and I am now concerned if I should be updating them to the latter.

1 Answer

0 votes
by (51.6k points)
The main use of ChangeWorkingDirectory is with relative directory-changes. For example FtpConnection.ChangeWorkingDirectory("MySubDir").

- Hans (EnterpriseDT)

Categories

...