Page 1 of 1

ftp or copy

Posted: Tue Aug 15, 2006 8:48 am
by vsi
I was trying to ftp files (through Humming bird software) from ServerA to desktop then to ServerB, but the ftp fails for one of the files probably due to the size (it says the file doesnt exists, although its there).

How can i copy from ServerA to ServerB

Posted: Tue Aug 15, 2006 9:26 am
by ArndW
the FTP process shouldn't fail, or when it does it will give a better error. Yo are probably using Hummingbird to connect to your UNIX machine, or are you using a special FTP tool/program?
You do have other options in UNIX such as an NFS mount or things like scp and rcp; but most likely you will see errors there as well.

Posted: Tue Aug 15, 2006 9:28 am
by meena
Hi Vsi...
Check your path too.. There is no chance of saying "file doesn't exists" even after file existings..

Posted: Tue Aug 15, 2006 9:43 am
by vsi
the FTP process shouldn't fail, or when it does it will give a better error.
I am getting error like this, all i did was drag and drop to my desktop/to ther server as well, same result

550 <filename>: No such file or directory
Yo are probably using Hummingbird to connect to your UNIX machine, or are you using a special FTP tool/program?
Yes I am using Hummingbird to connect to connect to unix and there is a ftp tool provided with it.
You do have other options in UNIX such as an NFS mount or things like scp and rcp ; but most likely you will see errors there as well.
The same file when I copy within same server is not giving any error.

Posted: Tue Aug 15, 2006 9:45 am
by ArndW
Suggestion: Don't use a 3rd party FTP tool, open up a session in UNIX and use the builtin FTP command, it might not be drag-and-drop but it will work.

Posted: Tue Aug 15, 2006 9:49 am
by vsi
i typed ftp

i get a prompt ftp>

now how do i go ahead, lets say, I need to copy


from
UsrA@ServerA - /home/UsrA/FileA
to
UsrB@ServerB - /home/UsrB/FileB

Posted: Tue Aug 15, 2006 9:56 am
by ArndW
I now see why you wanted to use the drag-and-drop interface.

When you use ftp you need to do:

a) "connect <remotemachine>"
b) "cd <remotedirectoryname>"
c) "lcd <localdirectoryname>"
d) "put <filename>" to copy local file to remote or "get <filename>" to copy remote file to local machine.

Posted: Tue Aug 15, 2006 10:20 am
by meena
Hi vsi..
Try to do this too:

Login to your ServerB with the user id and password.Go to /home/UsrB..And now type ftp ServerA,give user id and password..enter check for your path..and go to /home/UsrA next type get FileB..next type bye and check whther you have your file in the path you not..If you want rename the FileB to FileA then use mv command..
from
UsrA@ServerA - /home/UsrA/FileA
to
UsrB@ServerB - /home/UsrB/FileB

Posted: Tue Aug 15, 2006 11:04 am
by vsi
I now see why you wanted to use the drag-and-drop interface
you got it right :lol:

thanks for the help its working now.

* An elementary question, why do we need scp & ftp both?? Although scp is just one command and ftp allows to login?

Posted: Tue Aug 15, 2006 11:07 am
by ArndW
If you have scp or rcp installed then they are easier to use; I look at them as modern extensions to ftp... they also allow you to copy directories, which the standard ftp protocol does not.

Posted: Tue Aug 15, 2006 11:37 am
by vsi
Suggestion: Don't use a 3rd party FTP tool, open up a session in UNIX and use the builtin FTP command, it might not be drag-and-drop but it will work.
Do all 3rd party tools fail for drag and drop if the file size is huge? or is it only few of them.

Posted: Tue Aug 15, 2006 11:17 pm
by ray.wurlod
Philosophical Observation
One cannot with confidence answer any question containing the word "all".

Posted: Wed Aug 16, 2006 1:52 am
by prabu
ray.wurlod wrote:Philosophical Observation
One cannot with confidence answer any question containing the word "all".
...
Ray, by your own logic,


Practical Observation
One can always answer "maybe" with confidence to any question containing the word "all" and get away with it :wink:

Posted: Wed Aug 16, 2006 6:27 am
by ray.wurlod
You can't believe me, believe me! 8)

Posted: Wed Aug 16, 2006 8:49 am
by prabu
ray.wurlod wrote:You can't believe me, believe me! 8) ...
"i beleive you! if you beleive me!!", completing the soliloquy :lol:


Philosophical Observation
One can always say "believe" if one cannot say "trust" :wink: