Solved

FTP Connect directly to specific directory?

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Handling onsession end function in Application.cfc 5 54
.php tree directory? 5 72
Scientific articles behind a login? 6 26
show form submit button based on jquery sum 5 28
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
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:
This video teaches users how to migrate an existing Wordpress website to a new domain.

773 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