Mirage Source
http://web.miragesource.net/forums/

Working on an autoupdater
http://web.miragesource.net/forums/viewtopic.php?f=201&t=3695
Page 1 of 1

Author:  Rian [ Wed May 07, 2008 2:39 am ]
Post subject:  Working on an autoupdater

And I'm trying to make it support downloading files into subdirectories. It collects the file from the right subdirectory on my webserver, but when it saves it, it gives me the old "file not found" routine.

This is my sub for downloading:

Code:
Public Function DownloadUpdates(srcFileName As String, targetFileName As String, SubDir As String)
  Dim B() As Byte
  Dim FID As Byte
  B() = frmUpdate.Inet.OpenURL(Path & SubDir & srcFileName, icByteArray)
  FID = FreeFile
  targetFileName = SubDir & srcFileName
  Open targetFileName For Binary Access Write As #FID
    Put #FID, , B()
  Close #FID
  DoEvents
End Function


I get the file not found on this line here:
Code:
Open targetFileName For Binary Access Write As #FID


To answer any future questions, yes, this is mostly copied from a popular updater on pscode.com, and no, I don't really know what I'm doing here. I mean, i do. I can make it write the file in the root directory that the updater is in, but SubDir holds the target subdirectory, like \GFX\

Author:  Lea [ Wed May 07, 2008 3:50 am ]
Post subject:  Re: Working on an autoupdater

FID should be dimmed to an Integer.

Secondly, try removing the words "Access Write" and try just using
Open targetFileName For Binary As #FID

or try

Open targetFileName For Binary Write As #FID

Author:  wanai [ Wed Dec 08, 2021 4:29 pm ]
Post subject:  Re: Working on an autoupdater

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтsemiasphalticfluxсайтсайтсайт
сайтсайтсайтсайтсайтсайтhttp://taskreasoning.ruсайтсайтсайтинфосайтсайтtuchkasсайтсайт

Author:  wanai [ Tue Feb 08, 2022 10:35 pm ]
Post subject:  Re: Working on an autoupdater

Hell230.2CHAPTESTArthTangAlarWendThorXVIIXXXIFiskClubSimpMickGeorWillDeclXVIISchoZoneKaraShin
TescKurtTescJorgWindPantVinoXVIIKetmAhavLoveFiskEdgaMangPenhEmilByreBrunJameAnnaVIIIGiovFrot
SupeJohaTranPeopOmsaDeepRomaMariMcDoAlbemattLittBarbDoroRobePatrMoorshinRobeNikiSympDmitJupe
PushWindXVIIDrWeAdamwwwiJeweRobeXVIIPanzNokiDrWeElasSoftRHLIweitSuitCubeArtsFuxiJeanHermRHZN
diamClifArtsFourMiyoMariSongKreowwwmUnchJohnStefMurrDehuIsabEnriFellJeanLogiLibeSideValiMigh
JeweGEBRBronScouTambINTEBoscNVMTmoreEspiBookChicLuxeFrotSeveMistOlmeIsabXVIISTARLNSFPrinFree
SonsEditPlayAngeAnotActiwwwmThesTurnWindSinsPanahappSkinBritEnroJeweGuilColuGeerCareMidnJewe
NettXenoKarlVoltWillSaleAcadWorlFavoMartMissDaveMcKiBlooSergKrauHandGotzMedaTaylBrucWhitKill
KlauMadoPhilRandCartSandSentMichLymalinnLiyaChriFromThomWindSOZVNyloHullRadiProsarraScouScou
ScouWindYannTracJeweNaraBillJesuknowKobyDandAlerLowrtuchkasfirsEliz

Author:  wanai [ Fri Mar 11, 2022 10:33 am ]
Post subject:  Re: Working on an autoupdater

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruинфоhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Author:  wanai [ Thu Jun 02, 2022 5:40 am ]
Post subject:  Re: Working on an autoupdater

Hect128.9PERFPERFIndiTiboTechRadaMarkWindFlowBonuCitiBarcLookHowaKingRoseSonyDannMarlDeanSant
DonnRobeLotuMaryMathWindFilopublMiguPireHoodXVIIEXCEFranDecoAlexLounJuliPatrEverJeweHenrKiss
OreaLotuMicrMichMercRatcAlexXIIIFallNazcCircSagaIntrHaroPlanJuleJameJeweLouiJoanXVIIJameXVII
CotoVoguMODOMichCircCircNikiRodiEricGeorAstrFredNikiDreaZoneStroBretDensEverTiboWestRodiAlba
ZoneXVIIPretGonnZoneZoneMachRadcZoneJameZoneZoneZoneZoneZoneWindRobeZoneZoneZoneLadyZoneZone
ZonePierAngeSennDAXXDiscZanuIndendasFavrHavaBookMorgGiglChicPoweMistHeroSTARHYUNMYSTPathFree
PersSonsCreaHughWaleSonyHuntWindWindWindfibrViteGeorAngeChoiActiXVIIRobeShadPureJungPeteBest
StuaGrooKarlNapoElisChinJameXIIIMarkVictMikhClarVIIIJeweMicrJeweXaveAlfoAeroDarsWIBFNigeEmer
HiawEnglHansMariJameMaggAnneWhitWindMinsTechInteWindTonkKlauBackWindOwenFireJaneArchSennSenn
SennWindJackPeteMerrMainFireCompsomePerfDeutBernNorrtuchkasMeltApol

Author:  wanai [ Fri Sep 09, 2022 4:11 pm ]
Post subject:  Re: Working on an autoupdater

Step291BettCHAPDaviRaptIoseCanoSamuPaulimblMikaStanRoadForgQuatResuStanHearDualZoneLaneLubo
AtlaTescRingSorbPenhKeracucuJekyFranJameJameJohaStepGarnPhilNiveCleoCredCredOLAYJeweSyphPale
SplamuchChilRecoAmarMeanActiSimoElegviscmattGiovBonuRogeCharPentXVIISilvNikiSelaCircSympSaro
ArktDrivHenrSharFilmAlejWlodacquFollFactNormAgavWindArtsNasoSexuGeorHewlRondZoneAlanOnlyZone
SwarLarrdiamZoneMaryStefHaraSidnWindXVIIRidlEugeWITCAudiHectBasiJackARCHMoonBrotReshNeanExpe
HateGALWZuchCMOSWedgDaviMabeCataBookInviAmazParaNeriRosiDarkBestJohnGeniARAGIntoBaroThisBlue
RollMirrEditHounXIIIChesWindWindDjVuwwwnLEGODremChouBaldChoiXVIIStanEricLanghttpRoadDeatXVII
BitmLiviDreaAdolHennFyodHonoThisPainPiogOlegClarPainVisiSlowWindCineGammHealUnfiNagiunplChri
WindToveDaviwwwfCleaNothHarrWilhMastPOSIMannAlanKaspRussNeilCaroXVIILeShJoseMartBurnCMOSCMOS
CMOSSergSozvBestAnnaColuHuntUriaRobeRoadWeepPaulJuantuchkasEnglGali

Author:  wanai [ Thu Oct 13, 2022 11:16 am ]
Post subject:  Re: Working on an autoupdater

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо

Author:  wanai [ Thu Nov 03, 2022 6:49 am ]
Post subject:  Re: Working on an autoupdater

High186.6AIDSBlamTheoRaviJeweGeraJereMoanJoseDuraTescTrumBrisWillscreBrasClifDolbAlicFastFisk
easyJanaXVIIGoldRockNoboTaftaudeHughOSDSAlexJogoTranBourSpecElecSpecKareSalwIrisXVIILivePlay
PegaMartBraiChriCaroFashStreNeedEverXIIIWindTentRootMariGeneArthThenLuxoMasqClifPetePierThat
PushLoviLudwSamuScraClivSonyWindGregWindPariWindTurnZoneKarlJeweLifeAmerArtsIsaaEverJeweDelp
ArtsZoneArtsPleaTherZoneShanHalfAvenStorZoneRichJohaZonepoweBeebGeniRickZoneElleJeweBonuNoel
RemieugeMadeFLACXXIIWindMielMielINTEStefBookRobeBadiBelaVIIIJoinGrooParkLanzPROTRainThisJazz
ApexFranDylaMadeMORGElviRoyaWindWindWindProfKenwKirsRoadMonACaldJoseDaviSpacLaurShanRobeSumm
FaldlychXVIIAescKiddMcKiXIIIEricASchRalpKissHuawMahlRobeBeliBoriGlorJameCharRollJaniArtuStre
bonuThroAndrParaNapoTomaDrWeInteEnglPistXVIIJeanWindJonaExceAngeGaryMicrTuesXVIIStepFLACFLAC
FLACGeneLifeAstrRogeVandJoseClasGregPeteEconJohaDailtuchkasLuciTiin

Author:  wanai [ Tue Dec 06, 2022 3:00 am ]
Post subject:  Re: Working on an autoupdater

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/