Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Help Please! - FTP Put() Exception : Invalid PORT Command - Indy 9
| Subject: | Help Please! - FTP Put() Exception : Invalid PORT Command - Indy 9 |
| Posted by: | "Johnnie Norsworthy" (jln2..@verizon.net) |
| Date: | Wed, 26 Dec 2007 11:51:09 |
I am trying to upload a file by FTP in Indy 9.
FTP.Connect works fine
FTP.ChangeDir() works fine
FTP.Put(LocalFileName,RemoteFileName) give me an exception "Invalid PORT
Command"
on tracing the code it seems the port command is a local port being
assigned, not the remote port.
Any ideas? I have to get this project out ASAP and this is the only problem
I am having (so far). I have disabled my software firewall for testing and
my WS_FTP program has no problem connecting to the same site and uploading.
Also, can a remote port number be specified as par tof the .host property
using server:port or do I need to use FTP.Port := to specify an alternate
remote port?
Thanks for any help and happy new year to all!
-Johnnie