Home » Developer & Programmer » Forms » Download file through ftp with wininet.dll
Download file through ftp with wininet.dll [message #122042] Thu, 02 June 2005 09:33 Go to next message
Leo007
Messages: 15
Registered: June 2005
Junior Member
Hello,

can somebody help me?
I want to download files with the ftp function
of wininet.dll.
I don't want to use ftp.exe because I don't want to write the username and password in a simple txt file.

I tried to use ffi_gen creating a pll file
but don't know how to handle this correctly.
Can somebody paste how to download a file with the function FtpGetFile.

Sorry for my bad english.
Re: Download file through ftp with wininet.dll [message #122107 is a reply to message #122042] Thu, 02 June 2005 20:19 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
To other gurus - would ora_ffi be of any use for this activity or does it work with a 'host' command?

David

[Updated on: Thu, 02 June 2005 20:20]

Report message to a moderator

Re: Download file through ftp with wininet.dll [message #122128 is a reply to message #122042] Fri, 03 June 2005 02:46 Go to previous messageGo to next message
Leo007
Messages: 15
Registered: June 2005
Junior Member
Hi David,

using the host command would work but I don't want to use it.
I also can download files with http protocol with FtpGetFile command. If someone can help me making a pll of wininet.dll or better can send me the pll Wink) that would be very nice.

Thanks a lot.

Leo
Re: Download file through ftp with wininet.dll [message #122131 is a reply to message #122128] Fri, 03 June 2005 02:54 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have a look at ora_ffi. There are entries in this forum as well as OTN and google. It may give you that for which you are looking.

David
Re: Download file through ftp with wininet.dll [message #122181 is a reply to message #122131] Fri, 03 June 2005 10:30 Go to previous message
Leo007
Messages: 15
Registered: June 2005
Junior Member
Thanks David,

I read the topics maybe I doing something wrong ?!
I have used ffi_gen from developer 6i but I think I am doing something wrong because the pll is created successfully but it didn't work.


I need this three functions of wininet.dll.
InternetOpen
InternetConnect
FtpGetFile

Leo
Previous Topic: doubt in Acme.Crypto.DesCipher class in java
Next Topic: scanning from oracle forms
Goto Forum:
  


Current Time: Fri Sep 20 02:08:05 CDT 2024