UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 12th, 2005, 07:27 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,089 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 3 h 39 m 54 sec
Reputation Power: 9
unix<>dos ftp Q

hello all
a dos-newbee need your help.

my config:

dos1-->unix-->dos2 (NOTA: dos? is all but unix)

the problem using ftp:
dos? to unix is OK
but
unix to dos? does not work
and
dos1 to dos2 also not work

to transfer data from dos1 to dos2 i am forced to walk over unix

sure i'am missig something, my unix knowlegde says:
some 'deamons' on dos? are NOT running.
the Q: how can i start them?

thanks for your time.
__________________
working on Solaris[5-9], preferred languages french and C.

Reply With Quote
  #2  
Old July 12th, 2005, 10:18 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
> some 'deamons' on dos? are NOT running.
Oh my... You'll be very disappointed of DOS.
How did you even connect it to a tcp/ip network? I know there is third party stacks, but to go though this you would have already noticed that DOS is no good and the "OS" in "DOS" is only a marketing plot.

Are you maybe using the DOS Window in a windows environment? This is not really DOS, it's the windows command line. Well, not much better anyways if you know unix already...

There is two big differences between unix and DOS/windows.
1. Unix is using "\n" for terminating lines and iirc also a different EOF character where DOS is using "\r\n".
2. DOS/Windows is using a different character set.

To recode files from dos to unix mode, you can use:
"recode ibmpc..latin1 <filename>".
But I have yet to find an equivalent in DOS/windows. I am getting around this by using BINARY mode only for ftp and a windows text editor capable of writing unix files directly.

Did you try changing the ASCII/BINARY mode setting of your ftp clients yet?

HTH,
M.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old July 12th, 2005, 11:40 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,507 Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 7 m 35 sec
Reputation Power: 865
Actually, this is because you probably don't have an FTP server running on the DOS side. You probably have an FTP client on DOS, which is why you can connect to a FTP server running on UNIX. You can't connect in the other direction because of a missing FTP server. When you mean DOS, do you mean a DOS window under M$ windows. If so, there are several (some free) FTP servers for Windows that you can download from the web.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month

Reply With Quote
  #4  
Old July 13th, 2005, 07:26 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,089 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 3 h 39 m 54 sec
Reputation Power: 9
was ist das

Quote:
Originally Posted by M.Hirsch
> some 'deamons' on dos? are NOT running.
Oh my... You'll be very disappointed of DOS.
How did you even connect it to a tcp/ip network? I know there is third party stacks, but to go though this you would have already noticed that DOS is no good and the "OS" in "DOS" is only a marketing plot.

Are you maybe using the DOS Window in a windows environment? This is not really DOS, it's the windows command line. Well, not much better anyways if you know unix already...

There is two big differences between unix and DOS/windows.
1. Unix is using "\n" for terminating lines and iirc also a different EOF character where DOS is using "\r\n".
2. DOS/Windows is using a different character set.

To recode files from dos to unix mode, you can use:
"recode ibmpc..latin1 <filename>".
But I have yet to find an equivalent in DOS/windows. I am getting around this by using BINARY mode only for ftp and a windows text editor capable of writing unix files directly.

Did you try changing the ASCII/BINARY mode setting of your ftp clients yet?

HTH,
M.


was ist das ? hast du mein post gelesen, verstanden ?

Reply With Quote
  #5  
Old July 13th, 2005, 07:31 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,089 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 3 h 39 m 54 sec
Reputation Power: 9
Quote:
Originally Posted by Scorpions4ever
Actually, this is because you probably don't have an FTP server running on the DOS side. You probably have an FTP client on DOS, which is why you can connect to a FTP server running on UNIX. You can't connect in the other direction because of a missing FTP server. When you mean DOS, do you mean a DOS window under M$ windows. If so, there are several (some free) FTP servers for Windows that you can download from the web.

thank you scorpion,
my prob, i assumed standard things like
ftp or zip are included in the win-distro

Reply With Quote
  #6  
Old July 13th, 2005, 08:11 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Quote:
Originally Posted by guggach
was ist das ? hast du mein post gelesen, verstanden ?

Offensichtlich nicht

So you are using windows, not DOS. This is why my answer doesn't fit.
There is no networking capabilities in DOS at all, that's why I was wondering. Nevermind.

M.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > unix<>dos ftp Q


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway