Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for a Secure FTP program that works with VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01450805
Message ID:
01450928
Views:
74
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform