The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to add CRLF support for CSV file generated in unix amitpansuria High Level Programming 3 04-07-2008 10:18 AM
Issues in the Format in excel file generated from unix machine Vijay06 Shell Programming and Scripting 10 12-11-2007 10:33 PM
get the last generated log file ragha81 Shell Programming and Scripting 8 12-19-2006 07:02 AM
generated CSV file on AIX mpang_ Shell Programming and Scripting 0 09-05-2006 08:01 PM
linking unix generated text file to html page alexd Shell Programming and Scripting 1 11-13-2002 08:21 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-28-2005
Registered User
 

Join Date: Jul 2004
Posts: 2
Stumble this Post!
How to FTP a file generated at UNIX Box to NT Box

Hi all,

I am generating a file on the Unix machine , now i want to FTP the same file to the NT machine.

how can i do that and the application currently upon which i am working is a JAVA based application.

I need your help.

regards
Ruchir
__________________
Ruchri
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-28-2005
infierno's Avatar
Registered User
 

Join Date: Jul 2005
Location: Asuncion, Paraguay
Posts: 79
Stumble this Post!
you can bring up a FTP service on your UNIX host and then download then file on the NT box, or viceversa, bring up a FTP server on NT and UPload the file
Reply With Quote
  #3 (permalink)  
Old 08-11-2005
Registered User
 

Join Date: Nov 2004
Posts: 22
Stumble this Post!
generated at UNIX Box to NT Box

Hi,

First you should make sure that FTP server is running on the target NT Box, then you can apply the following lines in any shell script

ftp -n -v << _eof

open 172.16.55.9
user username password

cd targetdirectory

mput file1 file2
bye
_eof

Regards
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0