Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

switching to passive ftp

Dec
1
0
I'm using 4nt8 & 4nt6, latest versions. I've been using 4nt ftp - it works fine on both of these eg
copy c:\jim.bat "ftp://username:pass@ftp_add/ftp_dir"
copy "ftp://username:pass@ftp_add/ftp_dir/jim.bat" c:\tmp.bat
Guess the sites I've been previously using work for active ftp...

However, I've just started using a site, drive, that _only_ works for passive ftp. I can use it from ws_ftp by selecting passive ftp - it doesn't work for active, so I'm sure my account is ok & the firewalls etc work.

I'd like to be able to switch between using the other active sites that work ok and drive. Seems that the way to do this is using 'option' in line. The ftp help seems to suggest that this is ok, tho' it isn't IMHO very clear. eg
rem access active ftp
....
rem access passive ftp
OPTION //passiveftp=yes
copy "ftp:// etc
....
Is this correct? Did I miss something?

If I can't do this with 4nt, anyone know of a _free_ ftp CL client that'll work for active and for passive ftp? - xp ftp.exe doesn't!

John
 
On Wed, 30 Dec 2009 10:38:57 -0600, johnelee0 <> wrote:

|If I can't do this with 4nt, anyone know of a _free_ ftp CL client that'll work for active and for passive ftp? - xp ftp.exe doesn't!

Did you try QUOTE PASV with FTP.EXE?

It works here.

ftp> quote pasv
227 Entering Passive Mode (128,230,13,36,10,153)
--
- Vince
 
johnelee0 wrote:
...
| I'd like to be able to switch between using the other active sites
| that work ok and drive. Seems that the way to do this is using
| 'option' in line. The ftp help seems to suggest that this is ok,
| tho' it isn't IMHO very clear. eg rem access active ftp ....
| rem access passive ftp
| OPTION //passiveftp=yes
| copy "ftp:// etc
| ....
| Is this correct? Did I miss something?

Using the OPTION command seems correct. However, you would be better
off using the IFTP command (available since 4nt V5, maybe earlier) to
establish the FTP connection, since it results in faster operation.
It also allows you to use the PASV command Vince suggested for use
with WinXP's ftp.exe:

iftp /s QUOTE PASV

if needed.
--
HTH, Steve
 
johnelee0 wrote:
...
| I'd like to be able to switch between using the other active sites
| that work ok and drive. Seems that the way to do this is using
| 'option' in line. The ftp help seems to suggest that this is ok,
| tho' it isn't IMHO very clear. eg rem access active ftp ....
| rem access passive ftp
| OPTION //passiveftp=yes
| copy "ftp:// etc
| ....
| Is this correct? Did I miss something?

Using the OPTION command seems correct. However, you would be better
off using the IFTP command (available since 4nt V5, maybe earlier) to
establish the FTP connection, since it results in faster operation.
It also allows you to use the PASV command Vince suggested for use
with WinXP's ftp.exe:

iftp /s QUOTE PASV

if needed.
--

You don't need OPTION; just use the IFTP /Pn switch to specify passive or active.
 
rconn wrote:
|
| You don't need OPTION; just use the IFTP /Pn switch to specify
| passive or active.

The OP uses 4NT V6 and V8. The /P switch was introduced in V8, so in V6 he
still needs OPTION.
--
Steve
 
Back
Top
[FOX] Ultimate Translator
Translate