Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 May : work on a FTP server
| Subject: | work on a FTP server |
| Posted by: | "Bob Bedford" (b..@bedford.com) |
| Date: | Thu, 31 May 2007 15:41:32 |
Hi all,
I've to work automatically with files on a FTP server. What I need is:
- If files are less than 2 MB, move them in a subdirectory of the FTP server
- If files are bigger than 2MB, split them in parts that are max 2mb
- then upload splitted files on the subdirectory.
I don't know how to move files to sub-directory without the need to download
then upload the file. I've a FTP client that do it, so I guess it's
possible.
I have Delphi 6 Enterprise with Indy 10.
Could someone help me on moving those files ?
Thanks for helping.
Bob