Sedang Disiapkan

Perl/Shell script to retrieve file

-

I need a script that retrieves a file from a remote server. Either Perl or shell script is fine, as long as it can run under OS X (Both Perl and shell should work and I will test). Here's what it needs to do:

1) Connect to a remote computer using FTP/TLS. Domain/IP address, port, user/pwd are hard-coded in the script.

2) Go to a directory on the remote computer (remote directory A). Path is hard-coded in the script.

3) Get the file in that remote directory that has the most recent creation date.

4) Copy the file to a directory on the local computer. Path is hard-coded in the script.

5) If copy was successful, move the file on the remote computer from its original location (remote directory A) to another directory on the remote computer (remote directory B). Path is hard-coded in the script.

6) Send an email (address hard-coded) with the success/failure for each step:

- connected to remote computer

- found remote directory A to copy from

- found a file in the remote directory

- read file from remote directory

- found local directory to copy to

- wrote file to local directory

- found remote directory B to move file to

- moved file from remote directory A to remote directory B

Needs to be well commented, and I'd appreciated up-front variables.

Thanks.

-

Kemahiran: Perl

Lihat lebih lanjut: perl retrieve, retrieve shell, perl retrieve file, perl shell script, shell script check file owner, avaya perl, perl retrieve file remote computer, recent file perl, shell script freelancers, can send file path shell script perl, check file script shell, perl retrieve files http, shell script money, perl retrieve file http, script login retrieve files, perl avaya, perl read file remote computer, will shell script run, perl script recent file, script ip address, perl get, ip address script, perl copy file locally, perl remotely retrieve file linux, shell script copy file server local mac

Tentang Majikan:
( 88 ulasan ) Durham, United States

ID Projek: #382675

Dianugerahkan kepada:

james5400

Hey there, Thanks for the invite. I can write this script for you. Will I have access to the OS X machine for testing? I can test on my end and it should work fine on your machine as long as all the perl module Lagi

$75 USD dalam 2 hari
(5 Ulasan)
3.5

10 pekerja bebas membida secara purata $68 untuk pekerjaan ini

CoVaLiDiTy

can help you. tnx.

$50 USD dalam sehari
(10 Ulasan)
3.5
geniegate

Regular FTP, and Perl Cool! (I really enjoy perl)

$50 USD dalam sehari
(1 Ulasan)
2.9
demigraff

Although I have little Mac experience, I have been working with Perl since 2001, and this sounds like a simple job. Are you able to install common Perl modules such as Net::FTP on your system? Thankyou for your cnsi Lagi

$60 USD dalam 9 hari
(0 Ulasan)
0.0
rapture21

I will do it for you

$45 USD dalam sehari
(0 Ulasan)
3.9
kj163

Local testing on Linux. If SSH access is provided on OS X, it will tested on OS X also.

$45 USD dalam 3 hari
(0 Ulasan)
0.0
papsy

Hey dfarrell, can you check PM please?

$200 USD dalam sehari
(0 Ulasan)
0.0
deepProfessional

Hi, We are web development company based in MI, US. We are experts in Web 2.0 technologies. We will be able to deliver your script in a day. Kindly revert back or contact via gtalk to take this further. Regards, Lagi

$50 USD dalam sehari
(0 Ulasan)
0.0
LesleyB

Please see PM for details :)

$50 USD dalam sehari
(0 Ulasan)
0.0
mdnkumar9

Done a very similar script of retreiving the last created/modified file with the log facility. I am perl programmer working on Avaya for past 4 years.

$30 USD dalam sehari
(0 Ulasan)
0.0
arun351

Thanks for the invite. I can write this script for you. Will I have access to the OS X machine for testing? I can test on my end and it should work fine on your machine as long as all the perl modules are installed.

$75 USD dalam 3 hari
(0 Ulasan)
0.0