Operating System - HP-UX
1748048 Members
4853 Online
108757 Solutions
New Discussion юеВ

Re: how send file plain through ftp

 
Erick Flores Rivas
Occasional Contributor

how send file plain through ftp


not a plain file.
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: how send file plain through ftp

Is this an error message?

You need to provide more info on the source & target OS versions and what type of file you are sending.
Perhaps you need to use the "bin" command to enable binary transfers?
Steven E. Protter
Exalted Contributor

Re: how send file plain through ftp

Shalome Erick,

is it a plain file or not.

You could try sftp which figures out the file type by itself.

if not, its probably an ascii file transfer of a binary vile or vice versa.

file

Might help.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven Schweda
Honored Contributor

Re: how send file plain through ftp

This may be among the worst problem
descriptions of all time.

Please explain (or better, show) what you're
doing.

If there's a file involved, "ls -l" can be
informative. Perhaps you could try it.
Steven Schweda
Honored Contributor

Re: how send file plain through ftp

A quick Google search for this (what may be
an) error message suggests that you may be
trying to transfer a directory, or named
pipe, or some other exotic entity. With no
useful information, it's hard to say.

> [...] "ls -l" can be informative. [...]

"ls -ld" may work better on some things.

http://catb.org/~esr/faqs/smart-questions.html
TARUN SHARMA_1
Advisor

Re: how send file plain through ftp

You can change the Ftp mode to binary and then do mput
Sr Tech Lead
Tech Mahindra
Data Canter Tubli Bahrain
Jupinder Bedi
Respected Contributor

Re: how send file plain through ftp

ftp or sftp servername

ftp> cd pathname
ftp> bin
ftp> hash
ftp > mget or mput filename



Good Luck
All things excellent are as difficult as they are rare