Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for a Secure FTP program that works with VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01450805
Message ID:
01450928
Vues:
75
>>>I checked and West Wind does not do secure FTP. Does any one know of a program that can do secure FTP, has an API that can be hooked to VFP and includes a run time?
>>
>>I have successfully used WinSPC (http://winscp.net/eng/index.php) it is free and has a command line= which can but used it Foxpro.
>
>Wouldn't happen to have some sample VFP code of how your doing that would ya? This is one thing I've been stuck on before....

Since the WinSPC can be triggered with a batch file (.bat) that is the way I went.
 lcBatchFile = curdir()+"PRLAA.BAT"
     lcFileName2 = curdir()+lcFileName2
     if file(lcBatchFile)
       delete file (lcBatchfile)
       select qPOS
       copy to lcFilename2 type csv
     endif
       lcStr = "winscp425.exe depot_rh@PRLAA &lcFilename2 /defaults"
       lcDirFile = curdir()+"PLRAA.BAT"
       strtofile(lcstr,lcDirFile)
        if file(lcDirFile)
    	    do shellexe with lcDirFile
        endif
      select qPOS
      return 
   endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform