HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

ftp one day files

 
syedar
Advisor

ftp one day files

Hi all,

I need a script which can ftp one day files from subfolders to target folders.

Directory structure is :

/AB/AB1
/AB/AB2
/AB/AB3

target folders
/BA/BA1
/BA/BA2
/BA/BA3
7 REPLIES
Steven Schweda
Honored Contributor

Re: ftp one day files

> I need a script [...]

Perhaps you should try to write one. (Or
hire someone who can?)

> [...] which can ftp one day files from
> subfolders to target folders.

What are "one day files"?

Re: ftp one day files

You don't mention which machine has which directories.

As Steven asks, is "one day files", one day old, or one day's files?

Perhaps you should be looking at rdist?
syedar
Advisor

Re: ftp one day files

steven,

are you mad or what, if you don't want to help me just keep quiet.
Ganesan R
Honored Contributor

Re: ftp one day files

Hi Syedar,

Whatever you written is not a professional way. Don't be offensive. Try to understand what Steven said. It will not take much time for people to provide a script. They encourage you people to practice to write these kind of small scripts so that you can be good in script as well over a period of time.

You write a small script with some logic and get help from people.

Best wishes,

Ganesh.
OldSchool
Honored Contributor

Re: ftp one day files

start by (better) defining what it is you need to do.

For example:

In your original post, you mentioned: "/AB/AB1, /AB/AB2, /AB/AB3"....are these directories, or files?

If directories, do you need to look in each and find files, or can they just be sent?

Define "one-day files" (one day old, one specific day, last 24 hours, more than 24 hours old)?

What (if anything) have you tried?
Steven Schweda
Honored Contributor

Re: ftp one day files

> are you mad or what,

Are you helpless, or what?

> if you don't want to help me just keep
> quiet.

I (briefly) considered trying to be more
helpful, but my psychic powers were too weak
to tell me what you really wanted to do
(other than to get someone else to do your
work for you, of course). As all replies so
far seem to suggest, you haven't specified
the problem well enough to let anyone do your
work for you, even if someone wished to do
so.

> What (if anything) have you tried?

I suspect that you're looking at it, but I'm
always open to new evidence.
Suraj K Sankari
Honored Contributor

Re: ftp one day files

Hi,

Dear you are asking help here and we are here for helping each other, if someone giving advise to you please take it as gently, donâ t say this type of words â are you mad or what, if you don't want to help me just keep quietâ

If you donâ t like his/her advice then keep quite or see what other peoples are saying or you give reply him/her in a gentle way.

Other wise no one can help you in future because of your (attitude) statement.

I think you should apologize to Steven.

Please Donâ t take it other way, this is just a suggestion thatâ s all.

Suraj