Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: ftp getting err msg
| Subject: | Re: ftp getting err msg |
| Posted by: | "Ben Hochstrasser" (bh..@tiscali123^h^h^h.ch) |
| Date: | Sat, 24 Jun 2006 16:43:42 |
Blackbird Crow Raven wrote:
>> As Remy says, your local FTP server, (presumably the Windows FTP
>> service), probably does not have permissions for C:\ by default.
>
> How do I add that permission?
You don't need to. You create an account whose home directory is where you
get/put the files. When you log on to an FTP server you automatically are
put into your home directory. Another possibility is to create a virtual
ftp directory which maps to C:\someplace.
When you open C:\ for any account, you're likely to open the whole drive.
Do not do that. (And it shouldn't work on a well-secured Linux box anyway)
If Linux runs samba you're lucky, then you can simply use CopyFile() as
suggested by Jamie Dale.
--
Ben