• RSS
  • Twitter
  • FaceBook

Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

FTP from DOS prompt

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA Server 2004 Firewall] >> Firewall Client >> FTP from DOS prompt Page: [1]
Login
Message << Older Topic   Newer Topic >>
FTP from DOS prompt - 23.Jan.2007 3:01:51 PM   
whale

 

Posts: 9
Joined: 4.Nov.2003
From: St. Marys, PA
Status: offline
Folks,
I am in need of some help with a FTP problem.  I am trying to FTP a site outside the ISA 2004 Server from a command prompt. The client is WinXP SP2 with a ISA 2004 Firewall Client installed. I have no issues with FTP using Internet Explorer.  From the command prompt, I can connect, login, change directory, change the transfer type without issue.  I assume this means that the control side of FTP is working.  Finally, when I attempt to 'get' the file I receive 'Error opening local file' 'Permission Denied'. The Firewall logs state that it is receiving 'Unidentified IP Traffic' Any ideas?
Post #: 1
RE: FTP from DOS prompt - 23.Jan.2007 4:00:31 PM   
spouseele

 

Posts: 12830
Joined: 1.Jun.2001
From: Belgium
Status: offline
Hi whale,

quote:

I have no issues with FTP using Internet Explorer.  

Can you be a little bit more specific for which IE configuration? Check out About the FTP Protocol Support in ISA Server for more info.

HTH,
Stefaan

(in reply to whale)
Post #: 2
RE: FTP from DOS prompt - 24.Jan.2007 9:54:22 AM   
whale

 

Posts: 9
Joined: 4.Nov.2003
From: St. Marys, PA
Status: offline
Stefaan,
After reading your articles, I'm not sure if I really have a problem or not.  First of all 'Enable folder view for FTP sites' is checked and I am configured as a Firewall client.  I am able to both login to the FTP site and do a dir command using the MS FTP command line.  Since I haven't implemented your registry key, I assume that this means that I am in active mode.  If both the control and data have both been tested, why to I get the error opening tha local file?  Outside the firewall, it works fine.

(in reply to spouseele)
Post #: 3
RE: FTP from DOS prompt - 24.Jan.2007 3:10:12 PM   
spouseele

 

Posts: 12830
Joined: 1.Jun.2001
From: Belgium
Status: offline
Hi whale,

Q1: can't you put or get a file?
Q2: did you clear the FTP Read Only mode flag?
Q3: can you post an *exact* log excerpt?

HTH,
Stefaan

(in reply to whale)
Post #: 4
RE: FTP from DOS prompt - 25.Jan.2007 4:30:44 PM   
whale

 

Posts: 9
Joined: 4.Nov.2003
From: St. Marys, PA
Status: offline
Q1.  I cannot get a file.  I don't believe that I have rights to put a file.
Q2.  Yes, I did clear the FTP Read only flag.
Q3.
I:/>ftp ftp.kronos.com
Connected to ftp.kronos.com.
220 Kronos FTP Services . . .(c)2003 Kronos Inc.
User (ftp.kronos.com:(none)): customer
331 User okay, need password.
Password:
230-Welcome to the Kronos FTP customer server
230-The 'Anonymous' account has no access on this server
230-
230-
230-**********************NOTICE**************************
230-
230-All files should use the following naming convention which
230-includes the current date as follows:
230-
230-abc 02102000.txt   or   xyz021100.zip  or  rst211.dat
230-
230-YOU WILL GET A PERMISSION DENIED ERROR IF
230-YOU ATTEMPT TO UPLOAD A DUPLICATE FILENAME.
230-PLEASE KEEP FILENAMES UNIQUE!
230-
230-********************************************************
230-
230-Please use the 'DIR' command to list the files and directories.
230-The 'LS' command will only list file.  This system is RFC959
230-compliant which explicityly mentions that 'LS' (NLST)
230-should only return files.
230-
230-*********************************************************
230-
230-Please contact the Kronos Helpdesk (helpdesk@kronos.com)
230-if you have any questions or comments.
230-
230-Thank You.
230-
230-Copyright(c) 2004 Kronos Incorporated.  All Rights Reserved
230-Unauthorized access to this server is strictly prohibited.
230-user logged in, proceed.
ftp>cd /outgoing
250 Directory changed to outgoing
ftp>binary
200 Type set to I.
ftp> get acswfc.zip
Error opening local file acswfc.zip.
> acswfc.zip:Permission denied
ftp>

(in reply to spouseele)
Post #: 5
RE: FTP from DOS prompt - 25.Jan.2007 6:19:29 PM   
spouseele

 

Posts: 12830
Joined: 1.Jun.2001
From: Belgium
Status: offline
Hi Whale,

OK, let's try to summarize what we have:
- you can log in.
- you can perform a dir command. That means that the Data connection works too because it uses exactly the same protocol mechanisme as a normal get/put of a file.
- you can't get a file. Hmm... why?
- you didn't try a put of a file though ISA shouldn't block it (read only flag unchecked).

What is the ISA logging telling you?
Can you take a NetMon trace on the ISA external interface?
Can you try it with a SecureNAT client? Of course make sure you allow anonymous access for this.

HTH,
Stefaan

(in reply to whale)
Post #: 6
RE: FTP from DOS prompt - 8.Feb.2007 4:48:34 PM   
kc2kth

 

Posts: 35
Joined: 7.Feb.2007
Status: offline
Try another client - ncftp perhaps? I'm wondering if something in your ISA config is requiring pasv mode, which I don't believe the Windows CLI FTP client supports.

(in reply to spouseele)
Post #: 7
RE: FTP from DOS prompt - 9.Feb.2007 10:01:26 AM   
spouseele

 

Posts: 12830
Joined: 1.Jun.2001
From: Belgium
Status: offline
Hi kc2kth,

the Windows CLI FTP client supports only Active mode FTP. Check out About the Microsoft command-line FTP Client for more info.

HTH,
Stefaan

(in reply to kc2kth)
Post #: 8

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA Server 2004 Firewall] >> Firewall Client >> FTP from DOS prompt Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts