Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. wininet.dll and FTP

wininet.dll and FTP

Scheduled Pinned Locked Moved Visual Basic
com
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michel Dubord
    wrote on last edited by
    #1

    Hi, I need a way to find out before starting the download of a file with FTP if the file is being changed. Ex: with a regular file, i can try to open the file EXCLUSIVELY. Is it possible to do the same thing with wininet.dll and FTP Thanks Michel Dubord michel.dubord@avon.com

    D 1 Reply Last reply
    0
    • M Michel Dubord

      Hi, I need a way to find out before starting the download of a file with FTP if the file is being changed. Ex: with a regular file, i can try to open the file EXCLUSIVELY. Is it possible to do the same thing with wininet.dll and FTP Thanks Michel Dubord michel.dubord@avon.com

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      No. FTP servers normally don't support that functionality unless it is an implementation specific extension, and I don't know of any that do. Normally, FTP servers don't support exclusive access to files being downloaded. The problem is the status of the file can change in between the request for the locked status and the start of the actual download. So with that in mind, by the standard specification, when you start the file transfer, the server can respond with a '450-File unavailable' error. But you have to try and start the file transfer to find that out. RageInTheMachine9532

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups