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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP pid hung 1

Status
Not open for further replies.

terrapin

MIS
May 4, 2000
21
US
I have a program with ftp embedded in that ftps multiple files 5 to 10 k in size to nt boxes across frame network every night it seems I have a few hung ftp pids that I have to manually kill in order for my program to continue I am running 4.3.3 I was running 4.2.1 also occured but not as frequent any suggestions?



 
Are you using .netrc for these FTPs? If so, are they all under the same user id?
I dispensed with using .netrc files last year, and have been a happy camper ever since.

ftp -ivn ipaddr < fileftp.ftp > fileftp.ftplog

Initiates FTP process ipaddr; calls User ID, Password, and FTP commands from ftp.ftp command file; and creates a ftp.ftplog log file.

Using this approach, I have avoided contention problems for .netrc files (which can only handle one customer at a time.

Hope this helps!

-Mikeymac
 
Whoops..one more thing....the ftp.ftp command file (which is comparable to a .netrc file) looks something like this:

user mikeymac flamingo
binary
cd \incoming
put /mydir/file1 file1
put /mydir/file2 file2
quit

So, in this example, I'm logging in as user mikeymac with a password of flamingo. Then I perform my ftp operations..whatever they might be.

Good luck!

-Mikeymac
 
good though above...

Adding waits and maybe mgets? also comes to mind
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top