Vista FTP

  • Thread starter Thread starter Sharrukin
  • Start date Start date
S

Sharrukin

I have a software which uses FTP to upload in the background. The
software's FTP works in XP but not on Vista. Is there anything I should
check on Vista?



Warm Regards,

Sharo
 
Sharrukin said:
I have a software which uses FTP to upload in the background. The
software's FTP works in XP but not on Vista. Is there anything I should
check on Vista?

What does the manufacturer of said software say, "re: vista support"?
 
Hi Shenan,

I designed the software myself. The software has been running as a consumer
product for 4 years. It makes a simple ftp upload of a small file of 120
bytes of data that the software sends to an Win2003 Server.

Thanks!

Sharo
 
An Ftp connection has two connections (one for control and one for data) -
with each end having a client and server. Firewalls tend to block the
server connection on the client. Passive FTP doesn't have a server on the
client machine.
 
Sharrukin said:
I will check. What does Passive FTP do for Vista?

It has nothing to do with Vista. In normal "Active" mode, when your
computer wants to send a file to or receive a file from a remote
machine, it tells the remote machine to contact it on a particular
port. Your machine will listen on that port, and when the remote
machine sends a message there, that connection will be used to
transfer the file.

But if your machine is behind a NAT router (like all the home routers
that share a single internet connection among several computers), that
won't work. The router won't know which machine the remote machine is
trying to contact.

So in that circumstance, you use Passive mode. Now your computer will
ask the remote computer for a port number. Your machine will then
contact the remote machine on that port, and the transfer will take
place. Since your computer initiates the contact, your router will be
able to cope.
 
I checked my software code. I am using "Passive" FTP. My software does use
a dialup connection. once the dialup connection is initiated, it then uses
an "Passive" ftp connection to upload a file of size 115 bytes. It is a
simple dialup connection. The connection is not shared and not behind a
router. Should I switch to Active FTP mode?

Thanks!

Sharo
 
On Vista, FTP is not installed by default.
You need to turn this feature on in the Control panel, Programs and features
....
 
I use my own ftp control which is implimented in my software. Would I still
need to install Vista's FTP? Is this a Vista Service or a Vista application?

Thanks!
 
Sharrukin Amiri said:
I checked my software code. I am using "Passive" FTP. My software does use
a dialup connection. once the dialup connection is initiated, it then uses
an "Passive" ftp connection to upload a file of size 115 bytes. It is a
simple dialup connection. The connection is not shared and not behind a
router. Should I switch to Active FTP mode?

IF passive is working for you then there's no reason to switch.

And as for your other question, there's no reason to use Vista's
built-in FTP client. It's command-line only, you'll find plenty of GUI
clients around for free, if that's what you want. Use whichever client
you like.
 
Tim,

It does not work on Passive FTP ( Vista Only). Keep in mind this is coded
in my software. What could be blocking the FTP Upload. It works well with
other OSs other than Vista. The software is used by many users over 4 years.

Sharo
 
If in doubt as to the cause try clean boot troubleshooting.
http://support.microsoft.com/kb/331796

What error codes does the FTP part of your code return?
--
..
--
Sharrukin Amiri said:
Tim,

It does not work on Passive FTP ( Vista Only). Keep in mind this is coded
in my software. What could be blocking the FTP Upload. It works well with
other OSs other than Vista. The software is used by many users over 4
years.

Sharo
 
Back
Top