Forum Moderators: phranque
I was thinking I'l use a batch file or vbscript in the windows scheduler, running each night, but whats the commands for file transfer does it need to use ftp ports? Id rather not enable ftp if theres a better way, anyone have any code examples of this kind of thing, thx.
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run ("ftp -s:" & chr(34) & "C:\Imports\FTPScript.txt")
Set objShell = Nothing
/* ftp script */
open xx.#*$!.xx.xx
TheUser
ThePass
ascii
cd exports
lcd c:\imports
get DailyExport.csv
bye