Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ftp put in a sub-directory

Posted on 2014-12-07
3
Medium Priority
?
187 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

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 …
I didn’t use eM Client for long when I decided to swap to Outlook 2016. The reason for the switch is that it started asking for payment to continue some of its services after one month.   The problems I faced when I didn’t pay were:   I was not …
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…

885 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