Sponsored Content
Full Discussion: unix to winnt file transfer
Top Forums UNIX for Dummies Questions & Answers unix to winnt file transfer Post 5459 by qodoc on Wednesday 15th of August 2001 05:56:32 AM
Old 08-15-2001
Yes, let's try from your NT machine:
Open a CMD Window

At the prompt, say the "C:\" prompt:
C:\>ftp unix.machine.org

Then you will be asked your username and password at the unix machine (you have to have username and password on that unix machine). Typically they will prompt with the machine name, then
the username prompt, type your username, and then password.
If you succeed with the authentication, you will get an ftp prompt,
something like this:
ftp>

Of course when the authentication fail, you also get message telling that your name or password is wrong. If this is the case, just type in the ftp prompt:
ftp> user <your-username-at-unix-machine>

Then once, again you will be asked to enter your password.

Then you can put your file to that unix machine, say "myfile.txt". Type in the ftp prompt:

ftp> put myfile.txt

To quit, just type at the ftp prompt:

ftp>bye

Note:
There's some issues when ftp'ing files from NT to unixes, when you want to transfer plain text files, you need to type this:
ftp>ascii

But when transferring binary files, better don't forget to add
ftp>binary

between your authentication and your first 'put' or 'get'. Otherwise you may get a cluttered text files, or truncated binary files.


Happy ftp'ing,
qodoc
 

10 More Discussions You Might Find Interesting

1. IP Networking

File transfer from unix to NT box?

Is there a method to transfer a file from UNIX (AIX) to an NT box without the NT box having any special software running? I can ping the box via the network and I have a valid NT account to use. Is FTP a viable solution ? HELP! (10 Replies)
Discussion started by: jvacc
10 Replies

2. UNIX for Dummies Questions & Answers

importing database from unix to winnt

i am a unix-super-beginner (swaddled and weaned on windows) and am trying to import a database from a unix directory into winnt. can someone help me or am i a hopeless case? (4 Replies)
Discussion started by: sadiecutie
4 Replies

3. IP Networking

rcp from winnt to unix

I try an RCP command from winnt to unix and it works only with 2 pc but with the two others it dosen't work....? MS-DOS return this error msg : 0826-826 The host name for your address is not known. What can I do to resolve my probleme ? Dimitri Geneva - Switzerland (2 Replies)
Discussion started by: dfrangidis
2 Replies

4. UNIX for Advanced & Expert Users

unix automatic file transfer

Hello, I am a beginner with korn shell scripting. I have got a text file that gets produced every night and I need to transfer it to a windows shared area. Is there any command line script (e.g FTP) that I could use to transfer the file automatically without manual intervention everyday? Any... (4 Replies)
Discussion started by: tagem
4 Replies

5. Programming

How to check for a directory during FTP from WinNT to HP-UNIX

hi All, I have to Ftp a Directory from the WinNt to Hp-Unix, before that i have to check wether the same directory is present on HP-Unix, if it is then i have to delete that,& do the fresh FTP. The problem is that i have to implement this in a C Program,which i have to develop on WinNT Envt.... (1 Reply)
Discussion started by: asifkhan
1 Replies

6. Shell Programming and Scripting

Transfer FILE from UNIX to WIN2000/XP

it's possible make a transfer file with a remote command from UNIX SYSTEM to another computer with WIN2000/XP ??? ex.(rsh,ssh ecc.....????) now i use FTP program or telnet connection but ,i find a solution for execute a transfre file in to shell script UNIX (sh or ksh) from windows system (2 Replies)
Discussion started by: ZINGARO
2 Replies

7. Shell Programming and Scripting

to transfer a file from unix to window

Hello sir/Madam, I m writing in unix prompt folllowing- >ftp <local ip> // my pc ip is 10.64.0.59 Then following message is displayed- "ftp: connect: Connection refused" Please help me to solve this problem. Thanking you. (3 Replies)
Discussion started by: Nirmal
3 Replies

8. UNIX for Dummies Questions & Answers

transfer file from unix to windows on same PC

Hi, Do any one know the shell script code to transfer a file from unix to windows on same PC (4 Replies)
Discussion started by: monika
4 Replies

9. UNIX for Advanced & Expert Users

UNIX - SCP File Transfer

Hi, How do i know if the files are transferred succesfully when i use SCP to transfer files between 2 servers. One more is i am trying to send all the files in a single shot by using * to save the connection time. So can i know when the scp breakes in the middle scp $sourcepath/*... (9 Replies)
Discussion started by: vijaykrc
9 Replies

10. Shell Programming and Scripting

File Transfer from Window server to UNIX and UNIX to UNIX

Dear All, Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way. I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies
SIMPLEFTP(1)						      General Commands Manual						      SIMPLEFTP(1)

NAME
simpleftp - rudimentary ftp client SYNOPSIS
simpleftp ftp://... [ ... ] DESCRIPTION
simpleftp is a perl script that provides basic support for fetching files with FTP in a batch oriented fashion. It takes one or more ftp URLS on the command line. The file(s) will be retrieved from the remote server and placed in the current directory with the same basename as on the remote; i.e., ftp://ftp.isc.org/pub/usenet/CONFIG/active.gz is stored as active.gz in the current directory. BUGS
simpleftp is an extremely poor substitute for more complete programs like the freely available wget or ncftp utilities. It was written only to provide elementary support in INN for non-interactive fetching of the files in ftp://ftp.isc.org/pub/usenet/CONFIG/ without requir- ing administrators to install yet another package. Its shortcomings as a general purpose program are too numerous to mention, but one that stands out is that simpleftp does not understand the complete syntax of URLs, only the hostname and pathname parts -- it will not under- stand username, password, port or parameter strings. HISTORY
Tossed off by David C Lawrence <tale@isc.org> for InterNetNews. SEE ALSO
actsync(8). SIMPLEFTP(1)
All times are GMT -4. The time now is 03:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy