Downloading files from ftp server [message #84661] |
Mon, 12 April 2004 23:13 |
Rajeev Katyal
Messages: 55 Registered: April 2002
|
Member |
|
|
Is it possible to download files from ftp server using D2K forms 4.5 and 6i....
The ftp server allows download by providing user id and password...
Any help?
Please elaborate.
Thanks,
|
|
|
Re: Downloading files from ftp server [message #122542 is a reply to message #84661] |
Tue, 07 June 2005 03:49 |
Leo007
Messages: 15 Registered: June 2005
|
Junior Member |
|
|
Hi Rajeev Katyal,
you can use the ftp program of windows.
FORMS procedure:
declare
l_windows_cmd varchar2(100);
begin
l_windows_cmd := 'ftp -s:C:\ftp.txt';
host (l_windows_cmd);
end;
create a txt file called ftp.txt on Drive C:
--- TXT File
open my.ftp.server.com
username
password
binary
get ftp_file.sql C:\ftp_file_to_local_file.sql
quit
--- END TXT FILE
|
|
|
|