Solved

ftp put in a sub-directory

Posted on 2014-12-07
3
178 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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 …
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
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

622 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