# using fttp

**URL:** <https://community.unix.com/t/using-fttp/188887>\
**Category:** Shell Programming and Scripting\
**Created:** [March 13, 2008, 7:12am UTC](https://community.unix.com/t/using-fttp/188887 "2008-03-13T07:12:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shary](https://community.unix.com/letter_avatar/shary/32/5_5575768a8748004e209b776fc1b2916d.png) [@shary](https://community.unix.com/u/shary)\
**Post date:** [March 13, 2008, 7:12am UTC](https://community.unix.com/t/using-fttp/188887/1 "2008-03-13T07:12:29Z")

</div>

hello experts,

I just need to transfer transfer the files from machine A to machine B  
by using ftp command.  
i just need the script which can automatically transfer the files to machine by and it should not over write the files and the script should not ask the username and password from me mannuay it should take automatically from the script.  
for example in machine A files are  
FILEA  
FILEB  
FILEC  
FILED  
IN MACHINE B  
FILE B  
i need to transfer all the flies from machine A to machine B but it should not over write the FILE B beacuse it already exist in the machine B .  
I NEED to do this by ftp  
can any one help me out

---

<div class="post-metadata">

**Author:** ![Yogesh\_Sawant](https://community.unix.com/user_avatar/community.unix.com/yogesh_sawant/32/22562_2.png) [@Yogesh\_Sawant](https://community.unix.com/u/Yogesh_Sawant)\
**Post date:** [March 13, 2008, 7:21am UTC](https://community.unix.com/t/using-fttp/188887/2 "2008-03-13T07:21:47Z")

</div>

[this](http://www.unix.com/answers-frequently-asked-questions/14020-automate-ftp-scripting-ftp-transfers.html) might help you  
next time try searching in the forum

---

<div class="post-metadata">

**Author:** ![shary](https://community.unix.com/letter_avatar/shary/32/5_5575768a8748004e209b776fc1b2916d.png) [@shary](https://community.unix.com/u/shary)\
**Post date:** [March 13, 2008, 8:13am UTC](https://community.unix.com/t/using-fttp/188887/3 "2008-03-13T08:13:12Z")

</div>

hi i have searched from your link but i couldn,t find any thing related to my questions please help me in this matter

---

<div class="post-metadata">

**Author:** ![nua7](https://community.unix.com/letter_avatar/nua7/32/5_5575768a8748004e209b776fc1b2916d.png) [@nua7](https://community.unix.com/u/nua7)\
**Post date:** [March 13, 2008, 8:19am UTC](https://community.unix.com/t/using-fttp/188887/4 "2008-03-13T08:19:12Z")

</div>

No idea , why ftp is a need. But same thing can be achieved by scp..

Look out for options of scp.

---

<div class="post-metadata">

**Author:** ![shary](https://community.unix.com/letter_avatar/shary/32/5_5575768a8748004e209b776fc1b2916d.png) [@shary](https://community.unix.com/u/shary)\
**Post date:** [March 16, 2008, 1:01am UTC](https://community.unix.com/t/using-fttp/188887/5 "2008-03-16T01:01:19Z")

</div>

hi  
this is my requiremento to to do this by ftp.  
please help me out , how i can achieve this by doing it by ftp

---

<div class="post-metadata">

**Author:** ![venkatesh\_sasi](https://community.unix.com/letter_avatar/venkatesh_sasi/32/5_5575768a8748004e209b776fc1b2916d.png) [@venkatesh\_sasi](https://community.unix.com/u/venkatesh_sasi)\
**Post date:** [March 16, 2008, 5:07am UTC](https://community.unix.com/t/using-fttp/188887/6 "2008-03-16T05:07:45Z")

</div>

Hi,

Check this link. This could be helpful.  
[Using ftp in a shell script](http://www.inlumineconsulting.com:8080/website/scripting.ftp.html).

regards,  
venkatesh.
