Skip to content

FTP file download and upload using login and password #1

@JesseKPhillips

Description

@JesseKPhillips

http://www.dsource.org/forums/viewtopic.php?t=5065

I got it running and found that it was throwing an error from

DownloadBitsCallback.OnStopBinding()

in client.d, as the hresult parameter was set to INET_E_DATA_NOT_AVAILABLE.

After looking at the MS docs @ http://msdn.microsoft.com/en-us/library/ms775130(VS.85).aspx, i tried changing the

DownloadBitsCallback.GetBindInfo()

function to set grfBINDF to just BINDF_GETNEWESTVERSION instead of BINDF_NOWRITECACHE and that seems to have made it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions