switching to passive ftp

Dec 27, 2009
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
 
May 20, 2008
11,285
95
Syracuse, NY, USA
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
 
May 20, 2008
3,515
4
Elkridge, MD, USA
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
 

rconn

Administrator
Staff member
May 14, 2008
12,315
148
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.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
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
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly Problem creating and switching to a DESKTOP Support 9
D Need to set Take Command font size when switching to high DPI display Support 0
Stefano Piccardi QUERYBOX focus and ALT-TAB switching Support 6
Steve Pitts Cursor location when switching back to TC window Support 19
gschizas Keyboard switching does not work in Take Command (TCMD) Support 18
M Strange error messages from TCC in FTP copy Support 7
vefatica FTP SSL, how do I see it work? Support 3
P Problem with FTP copies Support 10
M ftp unreliable Support 2
Jay Sage Directory Alias Access to FTP Servers Support 2
Brian Woodward How to? Does FTP.CFG only support SSL over port 21? (Newbie) Support 6
cgunhouse FTP Error Support 5
S iftp copying pgp files from ftp is not working Support 11
vefatica Fixed COPY /S ftp://... Support 1
C WAD copy /u ftp local with Timeout? Support 5
vefatica FTP copy interrupted Support 2
C How to? COPY ftp folder query Support 7
jadaml Documentation Is COPY realy doesn't work for any HTTP and FTP? Support 3
vefatica IFTP and active FTP Support 13
S Return of FTP copy bug in 16.02.48 Support 12
S WAD FTP copy fails in 16.00.25 Support 24
fpefpe How to? ftp server Support 9
mikea How to? TCC and ftp:// commands Support 7
dcantor WAD dir "ftp:// ..." fails in TCC 15 Support 7
C v15 not on ftp site? Support 8
S Attacks, FTP vs. FTPS, downloading Support 19
S WAD COPY from FTP site fails in 14.03.51 Support 9
vefatica WAD DIR ftp ... broken Support 2
E No file names in dir "ftp..." Support 1
S dir for ftp connection - missing files sometimes Support 1
C ftp://lucky.syr.edu/ Support 11
A How to? Instruct COPY to delete file if only partially copied (via FTP) Support 8
C Vince - your FTP'ed jpsupport.zip's Support 1
S TMCD 13.04.61 not on FTP site Support 5
vefatica Win7, FTP, TCC Support 1
R ftp server password required to download pdf help Support 3
D cannot get into ftp://jpsoft.com/oldver Support 1
D ftp crashes tcmd v12.11 and 13.01 Support 10
S FTP site; FTP copy Support 4
Peter Bratton Update the ftp site Support 1
S DEL on FTP site : complaint about missing DESCRIPT.ION Support 1
S MOVE from FTP directory to another FTP directory - bug?? Support 2
C Active FTP Problems Support 4
noahcoad copy /w to FTP does not set time stamp Support 1
P Support for national letters in filenames in ftp operations Support 1
S FTP site; IFTP access Support 10
C AVG says FTP.CFG is locked ? Support 1
T FTP.CFG file aliases Support 5
R TC9 FTP strangeness - solved - for KB only Support 1
S FTP gremlins Support 1

Similar threads