ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Need help writing a script? Have any question about ScriptFTP?
I wanna set up scriptFTP to watch a certain directory and once a certain type of file gets place, it auto connect to my ftp and upload it there. Im not very good at this hence why im asking.
Hello,

You will have to use a short script something like:
Code: Select all; ------------------------------------------ ; This is a command line batch file, not a ScriptFTP script ; ------------------------------------------ Option Explicit 'Set Dimension DIM fso 'Set Objects Set fso = CreateObject("Scripting.FileSystemObject") Set WshShell = WScript.CreateObject("WScript.Shell") 'Create Condition If (fso.FileExists("C:\Temp\test.txt")) Then 'Run WshShell.Run "C:\ftpscripts\push.bat" Else 'Nothing End If 'Exit Script WScript.Quit()
In the 'push.bat' you should setup a script to run from the command line.

HTH.

Zythan