onfileupload , rename and reupload file

You can share your Lua Scripts with everybody here.
Post Reply
huggybear404
Posts: 1
Joined: Tue Dec 04, 2012 9:01 pm

onfileupload , rename and reupload file

Post by huggybear404 »

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

Re: onfileupload , rename and reupload file

Post by FTP »

Please check out this post: http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=2898" rel="nofollow
Post Reply