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
PAM_FTP(8)							 Linux-PAM Manual							PAM_FTP(8)

NAME
pam_ftp - PAM module for anonymous access module SYNOPSIS
pam_ftp.so [debug] [ignore] [users=XXX,YYY,...] DESCRIPTION
pam_ftp is a PAM module which provides a pluggable anonymous ftp mode of access. This module intercepts the user's name and password. If the name is ftp or anonymous, the user's password is broken up at the @ delimiter into a PAM_RUSER and a PAM_RHOST part; these pam-items being set accordingly. The username (PAM_USER) is set to ftp. In this case the module succeeds. Alternatively, the module sets the PAM_AUTHTOK item with the entered password and fails. This module is not safe and easily spoofable. OPTIONS
debug Print debug information. ignore Pay no attention to the email address of the user (if supplied). ftp=XXX,YYY,... Instead of ftp or anonymous, provide anonymous login to the comma separated list of users: XXX,YYY,.... Should the applicant enter one of these usernames the returned username is set to the first in the list: XXX. MODULE TYPES PROVIDED
Only the auth module type is provided. RETURN VALUES
PAM_SUCCESS The authentication was successful. PAM_USER_UNKNOWN User not known. EXAMPLES
Add the following line to /etc/pam.d/ftpd to handle ftp style anonymous login: # # ftpd; add ftp-specifics. These lines enable anonymous ftp over # standard UN*X access (the listfile entry blocks access to # users listed in /etc/ftpusers) # auth sufficient pam_ftp.so auth required pam_unix.so use_first_pass auth required pam_listfile.so onerr=succeed item=user sense=deny file=/etc/ftpusers SEE ALSO
pam.conf(5), pam.d(5), pam(7) AUTHOR
pam_ftp was written by Andrew G. Morgan <morgan@kernel.org>. Linux-PAM Manual 06/04/2011 PAM_FTP(8)
All times are GMT -4. The time now is 06:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy