The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Executing application on Windows from Unix machine MobileUser UNIX for Dummies Questions & Answers 3 07-12-2007 04:47 PM
Explor the Unix server on Windows Client machine ziaullahk IP Networking 2 09-08-2006 08:01 PM
Identify a remote machine as windows or unix u449064 UNIX for Advanced & Expert Users 5 08-05-2006 12:03 PM
missing Path(in UNIX) when i launch a job on to unix machine using windows SSh megastar UNIX for Advanced & Expert Users 1 11-04-2005 07:36 AM
backup unix files from a windows machine josramon UNIX for Dummies Questions & Answers 7 06-15-2004 02:44 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-09-2007
bmkreddy bmkreddy is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 8
Automatic FTP Script from windows to unix machine

Hi

i need to FTP files from windows to unix(sun) machine using script. what are the scripts commands i need to use to transfer files


Thanks
  #2 (permalink)  
Old 05-09-2007
jgarcia jgarcia is offline
Registered User
  
 

Join Date: May 2007
Posts: 4
Maybe you could use curl to do it:

curl -v -T <filename> -u loginassword ftp://ftp.ddd.com/

Curls is opensource and accesible from:
http://curl.haxx.se/download.html
  #3 (permalink)  
Old 05-09-2007
Pinoy7 Pinoy7 is offline
Registered User
  
 

Join Date: May 2007
Posts: 1
You can create batch file (.bat) and use the window's native FTP client to do a file transfer.. see below.

rem ===========================
cd \windowsfolder
echo open 192.168.0.254>autoxfer.txt
echo user yourFTPUsername>>autoxfer.txt
echo YourFTPPassword>>autoxfer.txt
echo binary>>autoxfer.txt
echo cd />>autoxfer.txt
echo put FileName.exe>>autoxfer.txt
echo quit>>autoxfer.txt
ftp -v -n -s:autoxfer.txt
  #4 (permalink)  
Old 05-10-2007
bmkreddy bmkreddy is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 8
is there any way to write script without downloading the third party software?

I have a files on windows machine at \\Laoefr02\gigimstr$

and i want down load these files on unix machine at /users/home

we need to do automatic process every night .please provide sample script for these functions.


Thanks
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0