Need help with tasks

Please post here if you have problems in using FTP Rush.

Need help with tasks

Postby georgeslb » Sun Feb 20, 2011 8:03 pm

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
georgeslb
 
posts 1
 
joined Sun Feb 20, 2011 7:48 pm

Re: Need help with tasks

Postby FTP » Thu Feb 24, 2011 3:05 am

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);
FTP
Site Admin
 
posts 1226
 
joined Tue Sep 29, 2009 6:09 am


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest