Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Need assistance with an FTP component


Message #1 by "Charles Day" <cday@a...> on Mon, 5 Nov 2001 15:23:11
Hi All, 



Some time ago we wrote a very simple FTP component in VB using the Inet 

object.  We set the URL, username, and password properties, etc.  (I'd be 

happy to post the code if it wold be helpful) I'm sure you know the 

drill.  This component has worked like a champ until we ran into a weird 

problem that we are stumped about.  Since we are not VB experts we are a 

pretty lost about how to fix this.



We use this component to transfer small text files from Windows machines 

to a Linux server.  This is a standalone component that transfers files 

without a form or user input as it transfers that same files each time.  

We have a Win2000 machine that is trying to transfer files but is 

failing.  According to the logs from the Linux box, it apoears the FTP 

session is not in "passive" mode.



My questions: 



1.  Is there a way to control or set "pasive mode" in the Inet object? 

2.  Could it have something to do with a setting or permissions on the 

Win2000 machine? (There is a Win98 machine 10 feet away that FTP's 

successfully) 

3.  Anyone have any suggestions as to a component out there that would 

work better for us?  Is there an "out of the box" component out there that 

would let us set this mode?



Thanks very much, 

Chip 

  Return to Index