Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP - Unix to NT

Status
Not open for further replies.

iceman4000000

Programmer
Jun 7, 2001
30
GB
Hi all,

I have a file on an NT system which I want to interrogate (just cat and stuff) and I will be doing this from a shell script on a unix box. I can ftp to the NT box no problem and log in - but the problem is that the ftp root file on the NT system is on the "d" drive and I need to get to the "c" drive... So, this might seem like a really dumb question, but I can't seem to change to the C Drive - any ideas?

ICE
 
When in ftp, use the command lcd and it will change your local directory.

Example:

ftp>lcd C:
 
but that will attempt to change his directory on the unix system. The FTP daemon on the NT system has to be setup to allow the ftp user to get to that drive:/directory.

Could you not just have the file in a "shared" directory on the NT system and then use samba on the unix system to copy/read it?
 
Good idea... didn't think of Samba and the drive I want to get to is already shared...

Nice one,

ICE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top