?
Solved

ftp put in a sub-directory

Posted on 2014-12-07
3
Medium Priority
?
189 Views
Last Modified: 2014-12-07
I have a ftp server on my PC (filezilla)
From another PC, I connect to it with a valid user/password
The user has a ftp home directory and can do everything there
How can I put a file, says mydata in a (non existing yet) sub-directory, says subdir ?
I tried \subdir\mydata and also subdir\mydata but both failed : 550 Filename invalid
0
Comment
Question by:LeTay
3 Comments
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 1000 total points
ID: 40485363
FTP will only put (or get) files in the 'current' directory.  It will not use syntax like "\subdir\mydata".  You must change to the subdirectory and then upload files.  For a new subdirectory, you must first create it and move to it.
0
 

Author Comment

by:LeTay
ID: 40485366
Thanks, will try that
0
 
LVL 37

Assisted Solution

by:Neil Russell
Neil Russell earned 1000 total points
ID: 40485421
in your ftp script

cd /
md subdir
cd subdir
put mydata

Open in new window

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Need helpful information on avoiding losing your Bitcoins to scammers, hackers, or data loss? This article discusses risks of working with Bitcoins and is a follow up to my previous article (http://www.experts-exchange.com/Software/Internet_Email…
When you send traffic on the network or on wireless it may be in plain text and it may reveal all your passwords and details.  Most programs do not use encryption by default. This is acceptable if you own every device on the network and are sure …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

616 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