Solved

FTP Connect directly to specific directory?

Posted on 2004-04-12
4
1,034 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
4 Comments
 
LVL 1

Accepted Solution

by:
Darix earned 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
Read about why website design really matters in today's demanding market.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now