1833059 Members
2873 Online
110049 Solutions
New Discussion

ftp

 
Indrajit Bhagat
Regular Advisor

ftp

I am on Hfxel3 server and doing ftp ca08nimprd server, it is asking for user name and passwd, I provid the user name and passwd and logged in , from ca08nimprd server in /export/application directory one directory 7.3 is there which I have to copy in hfxel3:/var.

I am getting following error.
ftp> get 7.3
200 PORT command successful.
550 7.3: not a plain file.
ftp> mget 7.3


Please put any idea how it can be done
6 REPLIES 6
Anshumali
Esteemed Contributor

Re: ftp

Do a tar on it and then FTP it back.
Its a directory...not a plain file....
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Srikanth Arunachalam
Trusted Contributor

Re: ftp

Hi Indrajit,

You either locally create a directory called 7.3 and while ftp'ing goto the directory 7.3 using "cd 7.3" and get all files using "mget *".

Alternatively, you can make use of secured copy.

scp -p -r * @ca08nimprd server:

give the password of user on ca08nimprd.

Thanks,
Srikanth
Shrikant Lavhate
Esteemed Contributor

Re: ftp

Hi,

You can change current directory to 7.3 and then try

ftp> mget *

It will trabsfer all files within current folder that is 7.3 in this case.
Will it remain a personal, if I broadcast it here!
Anshumali
Esteemed Contributor

Re: ftp

I doubt if the mget can get you the directory structure below it. It didn't work for me for depth=2

Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Shrikant Lavhate
Esteemed Contributor

Re: ftp

yes, Ansh correct. But Indrajit didnt mentioned he has any subdirectory structure. Thats why I posted most simple general way.
Will it remain a personal, if I broadcast it here!
Anshumali
Esteemed Contributor

Re: ftp

hmm...:)

Well, Indrajit, You can download xftp from http://hpux.connect.org.uk.
cute_ftp, WS_FTP also supports copying files recursively.

PS: Plz assign points if you found it useful.

Cheers!
Anshu
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!