Sponsored Content
Full Discussion: Windows to UNIX FTP
Top Forums UNIX for Dummies Questions & Answers Windows to UNIX FTP Post 302233261 by ryan_estiya on Sunday 7th of September 2008 12:01:04 AM
Old 09-07-2008
Hi carl thanks for the reply this is actually one of the work around i have in mind unfortunately the timing is not constant.

This is my current process:

1) FTP files from windows to unix

This is the ftp batch file(sample) in windows that i have

open <unix_box_ip>
user <username> <password>
cd /home/<username>/dump/
mput <file>*
bye

2) after this is done i log-in to my unix box and under /home/<username> i have a script there name script1 (script1 cleans up and appends all content of all file* to one file name fileout) which I could trigger manually by just typing it as the permission of the file is already 777.

the script would actually copy the cleanup file (fileout) to another directory under /home/<username>/cleanupfile.

3) and i have another batch file would get that cleanup file.

open <unix_box_ip>
user <username> <password>
cd /home/<username>/cleanupfile/
mget <fileout>*
bye

....

I try modifying the batch file in the first step to look like this


open <unix_box_ip>
user <username> <password>
cd /home/<username>/dump/
mput <file>*
cd /home/<username>
script1
cd /home/<username>/cleanupfile
mget <fileout>*
bye

but the script1 is running at all. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ftp from unix to windows

Hi, I have been using ftp to transfer files back and forth between windows and unix machines. But everytime i started the ftp session from the windows machine. I have a question why I am not able to connect to the same windows machine from the same unix machine. How do I do this? ... (11 Replies)
Discussion started by: oldtrash
11 Replies

2. UNIX for Dummies Questions & Answers

FTP from windows to unix

Hi all, How to FTP an excel format file located in windows to unix using shell script.Any particular commands we have to use? Thanks& Regards, rrs (4 Replies)
Discussion started by: rrs
4 Replies

3. UNIX for Dummies Questions & Answers

FTP from unix to Windows

Hi, I know that there should be a FTP server in Windows or a FTP listener daemon running in windows. Iam a beginner. May I know, what setup need to be done on Windows/unix end so that, a file can be transferred using sftp/scp from unix to windows. Thanks in Advance. (2 Replies)
Discussion started by: deepakwins
2 Replies

4. Shell Programming and Scripting

ftp from unix to windows

How to do ftp from unix to windows i have some files in a dir in unix box and i want to put those files in windows through FTP. How to do this ? (9 Replies)
Discussion started by: ali560045
9 Replies

5. Shell Programming and Scripting

ftp from windows to unix using a perl script on unix machine

i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies

6. Shell Programming and Scripting

FTP from Windows to UNIX

will this work, knowing that the file is in a directory in windows.. It is going from a drirectory in windoxs to UNIX \ # Error Handling Function function ErrorHandle { # if type is 1, then the file does not exist or unreadable if then echo "File... (5 Replies)
Discussion started by: rechever
5 Replies

7. Windows & DOS: Issues & Discussions

UNIX to WINDOWS FTP

Hi gurus, I need to FTP files from a UNIX box to a WINDOWS server. FTP is running on the WINDOWS server. I am able to log in to the WINDOWS machine with FTP, however when i do a dir in the ftp prompt i get the following 200 PORT command successful. 150 Opening ASCII mode data connection for... (3 Replies)
Discussion started by: ladarlsan
3 Replies

8. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

9. Shell Programming and Scripting

UNIX script to FTP file from UNIX server to windows

Hi, I am new to this subject.....Can someone please help me out with the script... unix usernm "sdhftst" unix pwd "chsd13" windows usernm "dfghtst" windows pwd "chsd13" path..../xxx/xxxxx/xxxxxx/xxxxxxx please can u get me a script...its only one file to get ftp. Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies

10. Shell Programming and Scripting

FTP from windows to unix server using unix shell script

Hi, Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting? If so what command i need to use. thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
BKCHEM(1)							   User commands							 BKCHEM(1)

NAME
bkchem - a free chemical drawing program SYNOPSIS
bkchem [options] [file] DESCRIPTION
bkchem is a free chemical drawing program, which was written in Python. The editor gives you the possibility to draw, scale, rotate, align and validate molecules and/or molecular fragments. You can import CML1/CML2, MDL MOL files, SMILES and INChI. Export is possible into SVG, OpenOffice Draw format, Encapsulated PostScript (EPS), CML1/CML2, MDL MOL files and SMILES. OPTIONS
The following options can be used: -H home-directory Set the new home directory to be home-directory. -b script Run in batch mode and execute script. -h, --help Show usage information. -v, --version Show version information. FILES
${HOME}/.bkchem/prefs.xml File to store user preferences. AUTHORS
bkchem is written by Beda Kosata <beda@zirael.org>. This manual page was written by Daniel Leidert <daniel.leidert@wgdd.de> for the Debian GNU/Linux system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation. 05/18/2008 BKCHEM(1)
All times are GMT -4. The time now is 01:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy