Solved

ftp put in a sub-directory

Posted on 2014-12-07
3
166 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 83

Accepted Solution

by:
Dave Baldwin earned 250 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 250 total points
ID: 40485421
in your ftp script

cd /
md subdir
cd subdir
put mydata

Open in new window

0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Yahoo biz mail? 2 47
Question about IE (Edge) new broswer 1 725
Gmail filters and labels help. 2 76
along a route, can't I see where x hours out would be? 1 77
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 …
If you can connect to your internal network or can connect to your router but are not able to connect to the Internet follow these steps in order until the problem is resolved.   1. Right click on the network icon on the task bar and select "Troub…
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…

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