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!
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!
FTP is the 'usual suspect' and works fine. You can also use SSH in file transfer mode; however, SSH requires more initial setup than FTP (which should work very easily out-of-the-box).
I get the following error trying to connect to the Windows NT box
either via hostname or using the IP address on the ftp line:
ftp: connect: A remote host refused an attempted connect operation.
?????
Try FTPing from the NT box to the UNIX box (versus the way you are trying, UNIX to NT). What happens?
That works fine, I even have Hummingbird software that has a Windows explorer FTP utilitiy. Either way the FTP works from when initiated from the NT. The catch is that I need to send (initiate) from the UNIX box. The NT box is sitting waiting for files to be dropped in a directory. ????????
Sounds like the NT box is not running an FTP server process. Can you check the network services running on the NT box and see if there is an FTP listening process?
Thanks.. I am now able to transfer files interactively with FTP.
Is there a way to build a dynamic file with the user Id, password (anonymous ftp user), and the put command and pass it to the FTP without user intervention??
I am using a shell to write the data to a file then using the 'ftp -v - <filename' but it stops at the password prompt. As soon as I hit enter it finishes the process successfully. Getting closer!!
This is exactly what I'm trying to do. Please if some one knows how to do this please post it up here.
Thanks,
Mike
have you checked out ncftp.com? this is what i use to do "batch style" ftp from unix to win/unix. very easy to install and even easier to setup. so you can script all your ftp transfers.
IT WORKS!!! All I needed was a .netrc file in $HOME directory
and it performs the automatic login with native ftp.
The .netrc entries look like this :
machine xxxxxx login xxxxxx password xxxxxx
where the xxxxxx are the key values needed on the receiving end
Yes, I also use the .netrc file on UNIX platforms when doing automated FTP. I would advise you to look carefully at your application and determine if having login information in the .netrc file and traversing the network in clear text is an acceptable risk. Assessing the risk is up to you and your working/business environment. If you work for a large corporation or government entity, they may have security policies that influence your assessment.