Automate FTP tasks

已关闭 已发布的 7 年前 货到付款
已关闭 货到付款

I have a production website (on a hostgator web host) and a test website (on a different hostgator web host).

I want to be able to do the following:

For each site, be able to transfer the site files from the web host to my PC with the following conditions:

* Initiating the transfer should be as simple as double clicking an icon

* For some folders in the website, transfer all contents

* For some other folders in the website, transfer only the folder structure, and not the content

(Basically, the website will create user directories - I will want to preserve the user directory structure but I don't need to download the content. The website also has an image cache - I will need to preserve the image cache folder but not the content).

The destination directory on my local computer should be different for the different sites. Ideally the destination directory should be created having a filename ending in a timestamp for the time at which the transfer was initiated. For example: \production\20160504_0845 - this is for download of the production site, initiated at 8:45am on 4 May 2016.

Rather than me giving you the host details or my local folder paths or the names of the directories for which I do not need the file contents, I want you to write the script in a generic way, documented, so I can enter in the values myself. I do not mean entering values at runtime - I mean I will modify the script to specify specific ftp details, destination directory, names of folders for which content is excluded, etc.

The above is step 1.

After this I may spec additional requirements but we can negotiate them separately. They would involve: a) automating file transfer from my local PC to either the test or production sites; b) improving all 4 file transfer processes so that some configuration files are selected to match the target environment. For example, my website has a config file that I use on my local machine which specifies how to connect to my local DB. It also has a .htaccess file that makes sense on my local web server. If I transfer my local site to the test host, then I want the transfer process to select a different configuration file and a different .htaccess file - ones that make sense for use on the test host.

Locally I am running Windows Vista Business.

I have selected lowest budget amount because for person with right skills and experience this should easily be done in 15 minutes. I will, however, need to be told if I need to install software. I'm guessing WinSCP might be applicable.

shell脚本

项目ID: #10404615

关于项目

4个方案 远程项目 活跃的7 年前

有4名威客正在参与此工作的竞标,均价$43/小时

anupamjain7

Looks like you need a shell script to do some file transfers (or meta data transfer). It will be a bit tricky to do it in a generic way since each platform has its own dependencies that are sometimes not obvious while 更多

$66AUD 在1天里
(0条评论)
0.0
piotrekc88

Hello, I need at least access to one test host in order to develop solution. I think the price i've set is the maximum, it depends how much time i'll spend on that. Do you prefer any specific solution or i can choos 更多

$45AUD 在1天里
(0条评论)
0.0
abhi130787

Hi ... As you are using Windows machine so to run shell script from command prompt you will have to Cygwin. As per your request we have two files has input -- -->One with info (server ip and path) of folders for which 更多

$25AUD 在1天里
(0条评论)
0.0
andrehuman1988

A proposal has not yet been provided

$35AUD 在1天里
(0条评论)
0.0