Hello,
I really need help.
I need to schedule a file transfer every minute form my hard disk to my site.
I created a task wich is updating every 1 minute. In the list 'what to do', i chosse 'Execute Script' then in the blank text I write
RushApp.FTP.Transfer(0, '', 'd:', 'tempm.htm', 'FTP1', 'Parent Directory', 'tempm1.htm', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0);
My objectif is to schedule a transfer every 1 minute from my hard (D:) to my Web.
Can you please help me
Exuse me for my english (I'm french).
Thank you
Need help with tasks
-
- Site Admin
- Posts: 2083
- Joined: Tue Sep 29, 2009 6:09 am
Re: Need help with tasks
You had better have a look on the help manual, it explains with "RushApp.FTP.Transfer" with a few examples, OK, for your requirement, you just need to write the task as following:
Code: Select all
RushApp.FTP.Transfer(0, '', 'd:\', 'tempm.htm.', 'FTP1', '/', 'tempm1.htm', RS_UP or RS_FILE or RS_DIRDES or RS_DIRSRC or RS_LOGOUT, '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0);