Frequently Asked Component Specific Questions
Options |
|
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>

TWebCopyFTP Upload
WebCopy.Items.Clear;
with WebCopy.Items.Add do
begin
ftphost := 'ftp.myserver.com';
ftpuserid := 'myusername';
ftppassword := 'mypassword';
protocol := wpFtpUpload;
targetdir := 'folderonftp'; // path to use on FTP server
targetfilename := 'filenameonftp.zip'; // filename to use on FTP server
url := 'c:\tem\localfile.txt'; // local file
end;
WebCopy.Execute;