Need help with tasks

Please post here if you have problems in using FTP Rush.
Post Reply
georgeslb
Posts: 1
Joined: Sun Feb 20, 2011 7:48 pm

Need help with tasks

Post by georgeslb »

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
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Need help with tasks

Post by FTP »

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);
Post Reply