The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing windows server alias name on windows or unix? NycUnxer UNIX for Dummies Questions & Answers 1 03-26-2008 01:54 PM
No more windows! shep UNIX for Dummies Questions & Answers 2 11-17-2005 03:00 PM
X windows dino_leix Linux 4 06-11-2005 04:51 AM
NFS for Windows Optimus_P UNIX for Advanced & Expert Users 4 10-28-2003 09:08 AM
X Windows [000000] UNIX for Dummies Questions & Answers 1 08-29-2001 11:09 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-23-2003
Registered User
 

Join Date: Nov 2003
Posts: 53
Stumble this Post!
ftp to windows box

I want to be able to connect from my UNIX box to my Windows box via FTP. I am able to succesfully connect to my Windows box via FTP as anonymous, however I can not navigate directories. Issuing the followings commands provides no help:

cd c:\
cd c:

Both return with "c:: The filename, directory name or volume label syntax is incorrect."

c:
Returns "Invalid command"

dir
ls -al

Both return nothing.

When I tried to login as administrator, I received the following error:
"User administrator cannot login.
Login failed"

Nevertheless, shouldn't it be possible to navigate while logged in as anonymous?

What commands do you issue once you've established an FTP connection to a Windows box?
Forum Sponsor
  #2 (permalink)  
Old 12-24-2003
jsilva's Avatar
Registered User
 

Join Date: Apr 2003
Posts: 169
Stumble this Post!
Hi,

FTP is a standard TCP protocol... you use the same commands, no matter what OS are you using... there's no such thing as "c:", you must configure your FTP server to be able to access the files you want...
  #3 (permalink)  
Old 12-24-2003
Registered User
 

Join Date: Dec 2003
Posts: 8
Stumble this Post!
Yes, FTP commands are the same for any platform, so doesn't matter if you are using a Windows or a Unix FTP server.
Here is a link with the basic FTP commands:

http://www.columbia.edu/acis/eds/dat...n/ftp_com.html

Make sure that you gives the right permissions to directories on the FTP server.
Makes your life easier with and FTP server software, there are hundreds for free on the net.
  #4 (permalink)  
Old 12-24-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,446
Stumble this Post!
I just ftp'ed to an NT server. When I did a "pwd", I seemed to be in /. I'm not sure if all NT ftp environments are like that. But the "pwd" command might be a good place to start.
  #5 (permalink)  
Old 12-26-2003
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
Stumble this Post!
ftp servers dont use the windows drive letters.
they use mount points.

you will have to check with your FTP admin to see what ftp directories he has mounted to what drives\folders on the NT machine.

to get a list of commands for that specific ftp server once you login you can type a "?" or the word "help" and it should display the commands avaliable to you.
  #6 (permalink)  
Old 12-29-2003
Registered User
 

Join Date: Nov 2003
Posts: 53
Stumble this Post!
Apparently, as Optimus mentioned, the directories for FTP have to be set up. By default, when you FTP into a Win2k box you are in the C:\Inetpub\ftproot directory. Issuing a pwd at this point simply indicates "/". Additionally, if there aren't any files in that directory or other FTP directories haven't been setup, issuing a ls will return nothing.

Thanks for the replies.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0