Hello!

I have such a problem:

When I log on to remote host (Linux) via ftp protocol I get to root 
node (/), so I can view all directories.
Why I can't get to my home directory at once I've connected?
Is it problem concerned with ftp server or with my program?


procedure TForm1.Connection;
begin
   ExecuteCmd(FtpClient.Connect, FtpClient.ConnectAsync);
   ...
end;

procedure TForm1.ExecuteCmd(SyncCmd: TSyncCmd; ASyncCmd: TAsyncCmd);
begin
   FTPClient.HostName := '192.168.0.1';
   FTPClient.Port := '21';
   FTPClient.UserName := 'user_name';
   FTPClient.PassWord := 'user_passw';
   FTPClient.Binary := False;
   FTPClient.Passive := True;
...
end;

Thanks!

Best regards,
Artem Antonov.
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to