onfileupload , rename and reupload file

You can share your Lua Scripts with everybody here.

onfileupload , rename and reupload file

Postby huggybear404 » Tue Dec 04, 2012 9:11 pm

I am looking for a script that will trigger when a file is uploaded (this will always have the same name)
the file needs to be renamed to add the system date and time to filename and then uploaded to another remote ftp server. there will always be two files uploaded at the time , small jpg pics will this cause a problem processing as in one file is not processed before the next is done ? or will they just be processed one by one ?

Im kinda new to scripting this so what do i need to do to create and activate this script ?
do I need to install external software to make scripts run ? or can I simply write a text file with the commands and add to wing ? how to I make wing aware of the script and when to trigger it ? I found no settings for events.

Apreciate all help and tips on this, thanx in advance.
huggybear404
 
posts 1
 
joined Tue Dec 04, 2012 9:01 pm

Re: onfileupload , rename and reupload file

Postby FTP » Fri Dec 07, 2012 10:27 am

Please check out this post: viewtopic.php?f=6&t=2898
FTP
Site Admin
 
posts 1212
 
joined Tue Sep 29, 2009 6:09 am


Return to Lua scripts

Who is online

Users browsing this forum: No registered users and 1 guest

cron