1834646 Members
2003 Online
110069 Solutions
New Discussion

ftp from nt to hp

 
SOLVED
Go to solution
sam kim_1
Frequent Advisor

ftp from nt to hp

i cant find a file (ex: today_tar) after ftp from nt to hp box. what i did was:

1)(from nt)
run > ftp
ftp> open xxx.xxx.xxx.xxx
username: uuuuuu
passwrd: pppppp
ftp> put c:temptoday_tar
ftp>quit

2) (then i moved to hp box)
# ls [i cant find anything like 'today_tar']
# find . -name today* [i cant find either]

[QUESTION]
1) did i do something wrong from nt machine with ftp command ? (for example, i should indicate a destination like ftp> put sourcefilename destination)
2) or, how do i know that file has been tranferred to hp box? (in other words, how to find that file fromhp box)

pls!
4 REPLIES 4
Kofi ARTHIABAH
Honored Contributor
Solution

Re: ftp from nt to hp

It should be in the $HOME directory of the user you logged in as.
-Do an lcd to the directory that has the file before the put:
lcd c:fileisinthisdirectory

-you can turn on hash to display a hash during transfer; (just type hash at the prompt before you put)

-there should be a summary of the filetransfer if it was successful.
nothing wrong with me that a few lines of code cannot fix!
Antoanetta Naghiu
Esteemed Contributor

Re: ftp from nt to hp

Go to Unix box and do
find / -name "today*"
(that means to start from /.
In the other hand, when ftp, you can set up the local directory and the remote directory.
Also, using full path you can specify the source and destination.
Try to specify the transfer method before ftp-ing:
ftp>binary
ftp>put c:today_tar /directory/today_tar

As well you can try to get the file ftp-ing from unix side. (using get in stead of put.
Tracey
Trusted Contributor

Re: ftp from nt to hp

Sometimes file I transfer to the HP from NT convert to all capitals: TODAY_TAR
sam kim_1
Frequent Advisor

Re: ftp from nt to hp

i found that file after:

1) i logged in same user
2) then, go /home,
3) file is there.

thanks!