ftp on unix


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ftp on unix
# 1  
Old 04-21-2005
Tools ftp on unix

Hi
I'm running a batch file that open an ftp connection to UNIX
at the same time i wont to run script
its write "invalid command"

Ofra
# 2  
Old 04-21-2005
When you post on a public board you have to provide details! What you posted is not enough to go on.

Post:
1. Your operating system
2. The shell you are using
3. Your code
4. What your problem is.
# 3  
Old 04-21-2005
Hi
1.Unix tru64
2.csh
3.the code is- this is the script in unix call shva_tel
#!/bin/csh -x
cd tmp
set ST=`ls -ltr WIZ_CARD_PAY* | tail -1 | awk '{print $9}'`
cp $ST backup
4.the batch file that i'm running on NT
ftp -i -s:%0
::ftp -i
open 8.200.200.0 #this is the unix machin
prod
luli
cd wizard
cd prod
cd data
shva_tel
mget WIZ_CARD_PAY* c:\temp
quit

when i run the batch file i get this error on the unix "invalid command"

i wont to know how can i run the unix script shva_tel
when i'm in ftp mode in unix
# 4  
Old 04-21-2005
What kind of command is "shva_tel"? Run ftp manually and try to do a shva_tel. You'll get "illegal command" there too.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Help with FTP in UNIX

Hi All, I am a beginner in Unix, wanted to know can we FTP one file located in one server to the another server location using Putty. The destination would require user ID and password to access the location. Also, the file that needs to be picked up should have the date of previous day. ... (1 Reply)
Discussion started by: richa shukla
1 Replies

2. 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

3. 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

4. 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

5. UNIX for Advanced & Expert Users

MVS->Unix FTP : Using chmod as part of FTP.

We are transferring file from mainframes to unix, & in FTP process itself we would like to set access rights for unix machine. Has anyone used chmod command in association with site command in ftp? How it should be used? Thanks in advance. (1 Reply)
Discussion started by: videsh77
1 Replies

6. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

7. UNIX for Dummies Questions & Answers

Pc to unix ftp

Hello guys..I am new to Unix, I am trying to transfer a .txt file from my windows PC to my Unix account at school using ftp. I am kind of stuck, can anybody explain to me the steps to do this? (1 Reply)
Discussion started by: Aristo
1 Replies

8. Shell Programming and Scripting

FTP script for sending a file from one unix directory to another unix server director

Hi, My local server is :/usr/abcd/ Remote server is :/Usr/host/test/ I want to send files from local unix directory(All files starting with O_999) to remote host unix directory. Can any body give me the Unix Shell script to do this. One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies

9. UNIX for Advanced & Expert Users

ftp from NT to UNIX

PROBLEM !!!!!!! I have files that is on a NT machine. It is located in a directory with subdirectories underneath it. TAR can not be used. I need to use a normal ftp command script to transfer these files from NT to UNIX, or get it from the UNIX machine, including the subdirectories. It must... (5 Replies)
Discussion started by: wolf
5 Replies

10. UNIX for Advanced & Expert Users

ftp from unix to pc

Hi All, How can I get a file as soon as generated into the unix server, it should get transferred into my pc? my pc connected to novell, and I know the ip address of my pc and unix server. reply to : ::email removed:: regards krishna (2 Replies)
Discussion started by: krishna
2 Replies
Login or Register to Ask a Question