Link to home
Start Free TrialLog in
Avatar of arvind
arvindFlag for India

asked on

ftp command line

I want to create a batch file - which will transfer a directory to another machine using ftp command.

cud anybody help me

Avatar of DanielBlais
DanielBlais
Flag of Canada image

Do you know the content of the directory, or the content is it subject to change?
Avatar of arvind

ASKER

no - sql store procedure will create random sub-dir in that directory.
And can your application create a txt file somewhere?
Avatar of arvind

ASKER

Hi  DanielBlais ,

Basic need are following

machine1 -- c:\partner
--part1
--part2
--wdjjkd
--1289613

machine2 --c:\partner

So I like to copy partner direcorty to machine2 with all the contains.

You'll need an application that recurse the directory and write an txt files which contain the ftp command.
Avatar of arvind

ASKER

Hi  DanielBlais ,

Basic need are following

machine1 -- c:\partner
--part1
--part2
--wdjjkd
--1289613

machine2 --c:\partner

So I like to copy partner direcorty to machine2 with all the contains.

Avatar of arvind

ASKER

could pls give the script or application
ASKER CERTIFIED SOLUTION
Avatar of DanielBlais
DanielBlais
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of arvind

ASKER

could pls give the script or application
Don't make an refresh after posting an comment, il make your comment post twice!
Avatar of arvind

ASKER

could pls give the script or application
Avatar of arvind

ASKER

Thanks - I'd made some mdoification in ur script - Its now working fine. But Whenever new folder comed we need to run script agagin.

And this script does not create folder - this means 1st time I'd copy folder manualy