Trt
2008-07-21 10:59:18 UTC
Hi,
I'm using Indy 10.1.5 TIdFTP component for file transfer to FTP site.
transfer happens for small size files. but its not happening for files
with size more than 200 mb. I use Delphi 7 for programming. Can anyone
help me to resolve this issue?
following is just a sample code i use.
IdFTP.Host := fHost;
IdFTP.Port := fPort;
IdFTP.Username := fUserName;
IdFTP.Password := fPassword;
IdFTP.Passive := fPassive;
if IdFTP.Connected then
FTPDisconnect;
IdFTP.Connect;
Try
IdFTP.Put(FileListBox1.FileName, ExtractFileName
(FileListBox1.FileName) + '.FTP');
except
raise;
end;
IdFTP.Rename(ExtractFileName(FileListBox1.FileName) + '.FTP',
ExtractFileName(FileListBox1.FileName));
Thanks,
Thanu
--- posted by geoForum on http://delphi.newswhat.com
I'm using Indy 10.1.5 TIdFTP component for file transfer to FTP site.
transfer happens for small size files. but its not happening for files
with size more than 200 mb. I use Delphi 7 for programming. Can anyone
help me to resolve this issue?
following is just a sample code i use.
IdFTP.Host := fHost;
IdFTP.Port := fPort;
IdFTP.Username := fUserName;
IdFTP.Password := fPassword;
IdFTP.Passive := fPassive;
if IdFTP.Connected then
FTPDisconnect;
IdFTP.Connect;
Try
IdFTP.Put(FileListBox1.FileName, ExtractFileName
(FileListBox1.FileName) + '.FTP');
except
raise;
end;
IdFTP.Rename(ExtractFileName(FileListBox1.FileName) + '.FTP',
ExtractFileName(FileListBox1.FileName));
Thanks,
Thanu
--- posted by geoForum on http://delphi.newswhat.com