ftp to windows box


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ftp to windows box
# 1  
Old 12-23-2003
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?
# 2  
Old 12-24-2003
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  
Old 12-24-2003
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  
Old 12-24-2003
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  
Old 12-26-2003
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  
Old 12-29-2003
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. How to Post in the The UNIX and Linux Forums

Copying , renaming the file from windox box and ftp to Linux box

Hello my dear friends, Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory. is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies

2. Red Hat

How to access redhat Linux box graphically from windows box?

Hi I have a linux box and need to access from windows graphically # uname -a Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux What components do I need to install on Linux and windows to do that? TIA (6 Replies)
Discussion started by: magnus29
6 Replies

3. Solaris

file showing 0 byte after ftp from windows to solaris 10 box

Dear All I am trying to put a file from window system to solaris 10 box through ftp, but after connected to solaris 10 through window via ftp, I put a file( its a solaris package) through put command to solaris box. When I checked it on solaris box I get a file having 0 bytes. even I try to put... (3 Replies)
Discussion started by: amity
3 Replies

4. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

5. Shell Programming and Scripting

FTP some text files from Windows box to unix

hi all, can anybody help me with script or command to ftp some text file from windows machine to AIX machine. this is shud be done by executing a shell script. (1 Reply)
Discussion started by: suprithhr
1 Replies

6. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

7. Shell Programming and Scripting

Moving files from Unix box to a windows box

Hi All, I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies

8. Shell Programming and Scripting

FTP Unix Box to Windows Shell Script

Hello All, Could someone help me out with this? I want to incorporate this into an existing script so the output of a SAS job can be ftp'd from our UNIX box to a directory on a drive in Windows environment. Can this be done with no extra third party software? We currently use Putty for copy... (2 Replies)
Discussion started by: Jose Miguel
2 Replies

9. Shell Programming and Scripting

executing *.bat file on windows from Unix box via ftp command

I have created get_list.bat file containing following line: dir /B /O-d >file_list.txt I am executing ftp command from Unix box and transferring get_list.bat file to windows server. In my next ftp command I am trying to execute this test.bat file by entering this line: get_list or by... (9 Replies)
Discussion started by: alx
9 Replies

10. UNIX for Advanced & Expert Users

VPN client (windows Box),and Server (Unix Box)

If I want to access unix box via VPN tunnel,from windows box. What sould I configure on the windows client PC, and what should I enable on the Unix Server box ? I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
Login or Register to Ask a Question