Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

FTP Connect directly to specific directory?

Posted on 2004-04-12
4
Medium Priority
?
1,043 Views
Last Modified: 2006-11-17
Hi,

Using Window's ftp command on the command line, I wish to connect to a specific directory on a ftp server.  I.e. "ftp myftp.myhost.com/ThiDir" but of course that doesn't work because it will say that domain is an unknown host.  I cannot log into the ftp at myftp.myhost.com first because the username/password that is logging in only has access to login to that one directory.

Is there a way to automatically connect to a specific directory on an ftp server while using the command line other than "cd"ing to it after username/password authentication?  I need this in a jif so points are kinda high.

Thanks.
0
Comment
Question by:nmwis70
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Accepted Solution

by:
Darix earned 1000 total points
ID: 10811087
can you connect to that dir via IE? if server lets you, it must let you connect, if not - ftp server configured incorrectly.

if you need that windows ftp client automatically changes to some dir on connect you can do it in such way:

create file ftp.txt
in it write:

open some_host
some_user
some_pass
cd some_dir

then run ftp clietn with such command:

ftp -s:ftp.txt
0
 
LVL 4

Author Comment

by:nmwis70
ID: 11492653
Please close this question.  Thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question