FTP uploading/downloading with callbacks

new topic     » topic index » view thread      » older message » newer message

Hi,

  A project I'm working on requires the ability to upload and download a
particular file (a small database) to and from a specific FTP server.  With
what little I know about network programming concepts, I'm trying to find a
way to do this task and receive progress callbacks (for both uploading and
downloading), so that I can update my progress gauge and perform a doEvents
to catch any press of my Cancel button.  I've tried Fabio Ramirez' wrapper
for WinInet.dll and Ray's eulibcurl and euFTP4w.  The only one I could get
to work with progress callbacks is eulibcurl, but only for downloading (the
uploading portion of libcurl doesn't seem to be wrapped).  EuFTP4w would be
great; but since the current wrapper only supports synchronous calls, my
program must wait for the function to return.  Right now, I'm trying to
understand how to use WinInet.dll with callbacks.  Can anyone offer me some
advice?

Andrew Hall

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu