Computing.Net > Forums > Unix > FTP Script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to get for your free account now!

FTP Script

Reply to Message Icon

Name: robert_sans
Date: November 29, 2006 at 08:48:47 Pacific
OS: HP Unix
CPU/Ram: HP Unix
Manufacturer/Model: HP Unix
Comment:

On a Windows Server there will be multiple files that needed to be FTP’d to Unix Server. We want to merge all these files into 1 file and rename them before FTP’ing it.

For Example:

1) Files in Windows Server:

COM_8111.txt

COM_8112.txt

COM_8113.txt

COM_8114.txt

2) They should be merged into one file:

E1_py106.txt

3) This file should be FTP’d to Unix Server

4) All the above files should be renamed to:

REN_8111.dat

REN_8112.dat

REN_8113.dat

REN_8114.dat

Is this possible from an FTP script and how?

rob


Report Offensive Message For Removal

Sponsored Link
Ads by Google

Response Number 1
Name: rais
Date: November 30, 2006 at 10:24:31 Pacific
Reply:

you can either zip them or copy them with + sign.

copy f1+f2 f10
copy f10+f3 f11

Hope it helps.


Report Offensive Follow Up For Removal
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: FTP Script

ftp script issue www.computing.net/answers/unix/ftp-script-issue/6675.html

UNIX FTP Scripting www.computing.net/answers/unix/unix-ftp-scripting/5999.html

adding date to ftp script...urgent www.computing.net/answers/unix/adding-date-to-ftp-scripturgent/5355.html