Learn about the best Wing FTP Server alternatives for your Managed File Transfer (MFT) software needs. Read user reviews of FileZilla, IBM Aspera on Cloud, and more. Wing FTP Server ©2003-2011 wftpserver.com All Rights Reserved. Wing FTP Server FTP Server is a highly functional, easy and safe that can be used in OS Windows, Linux, Mac and Solaris are used. This software supports several file transfer protocols such as FTP, HTTP, FTPS, HTTPS and SFTP. The Wing FTP Server provides a web-based interface for administrators to manage any view of the server.
Automatic FTP synchronization (server to server transfer)
Wing Ftp Server Linux
Fri Dec 07, 2012 10:18 am
Wing Ftp Server Reset Admin Password
-- Description: Automatic FTP synchronization or backup (server to server transfer)
-- You should add the below scripts to the event manager -> FTP or HTTP OnFileUploaded
-- When a file is uploaded, it can be sent to one or two or even more FTP servers automatically
-- Author: Luke
-- Date: 2012-10-07
The above scripts use a modified version of luasocket library, you can download and unzip it into the working directory of Wing FTP Server. The download URL: https://www.wftpserver.com/bbsres/socket.zip
-- You should add the below scripts to the event manager -> FTP or HTTP OnFileUploaded
-- When a file is uploaded, it can be sent to one or two or even more FTP servers automatically
-- Author: Luke
-- Date: 2012-10-07
- Code:
require('socket.ftp')
require('socket.ltn12')
--send the file to the first FTP server
f, e = put{
host = '192.168.0.100',
user = 'user1',
password = 'pass1',
port = 21,
argument = '/%FileName',
source = source.file(io.open('%PathName', 'rb'))
}
--send the file to the second FTP server
f, e = put{
host = '192.168.0.105',
user = 'user2',
password = 'pass2',
port = 21,
argument = '/ftpfolder/%FileName',
source = source.file(io.open('%PathName', 'rb'))
}
The above scripts use a modified version of luasocket library, you can download and unzip it into the working directory of Wing FTP Server. The download URL: https://www.wftpserver.com/bbsres/socket.zip