Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UNIX FTP Site issues

Status
Not open for further replies.

tony46

IS-IT--Management
Dec 11, 2002
1
CA
We have setup an ftp site on a unix box. when we process the files via an application, it doesn't process the whole file yet it's fine if we process from a windows ftp site. I'm wondering if there is a unix configuration issue we have neglected. Any help would be greatly appreciated
 
not really... Need more info...
I will guess this though...
in side of your app.. guessing C prog.. call a script like the following

--------------
#!/bin/ksh
ftp_system() {
system=$1
user=$2
passwd=$3
file=$4
ftp -inv $system ${user} ${passwd}
prompt
bin
put ${file}
bye
}
---------------
:?) "su-do code" :?) HAHA!!!


system(&quot;ftp_function <vars> >> file&quot;);
open(file)
read for errors
if ( errors == &quot;got some&quot; )
do stuff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top