Solved

FTP, no idea what I'm doing

Posted on 2004-03-29
8
1,279 Views
Last Modified: 2013-11-29
it's like one in the morning and I'm tired of trying to figure this out on my own.  here's what i'm typing into a cmd line:

ftp> get c:\music\emily.bmp "c:\documents and settings\Jonathan Plona\desktop\Em
ily.bmp"
200 Port command successful.
501 Invalid Parameter
ftp> get c:\music\emily.bmp c:\documents and settings\Jonathan Plona\desktop\Emi
ly.bmp
200 Port command successful.
501 Invalid Parameter
ftp> get c:\music\emily.bmp c:\emily.bmp
200 Port command successful.
501 Invalid Parameter
ftp> get c:\music\emily.bmp c:\
Error opening local file c:\.
> c:\:No Such file or directory
ftp> get c:\music\emily.bmp c:
Error opening local file c:.
> c::Permission denied


as you can see I tried a few times and none of them worked.  it's connecting fine, just I'm getting the stupid error over and over, and I don't know enough about it to know what I'mn doing wrong (I'm new to FTP, never used it before)  I'd appreciate any insight
thanks
Jonathan
0
Comment
Question by:FredPiano
8 Comments
 
LVL 1

Author Comment

by:FredPiano
ID: 10710897
it might be worth mentioning that in this scenario I'm actually connedted to myself (the local and remote machines are the same) I'm not sure if that matters though, it doesn't matter with the http server
0
 
LVL 1

Author Comment

by:FredPiano
ID: 10710936
more possibly important information, this is a segment from the log file:

< PORT 192,168,1,1,13,81 [192.168.1.100 <- 192.168.1.1 : 3407 (3/30/2004 12:28:46 AM)]
> 200 Port command successful. [192.168.1.100 -> 192.168.1.1 : 3407 (3/30/2004 12:28:46 AM)]
< RETR c:\music\emily.bmp [192.168.1.100 <- 192.168.1.1 : 3407 (3/30/2004 12:28:46 AM)]
> 501 Invalid Parameter [192.168.1.100 -> 192.168.1.1 : 3407 (3/30/2004 12:28:46 AM)]
< PORT 192,168,1,1,13,82 [192.168.1.100 <- 192.168.1.1 : 3407 (3/30/2004 12:29:48 AM)]
> 200 Port command successful. [192.168.1.100 -> 192.168.1.1 : 3407 (3/30/2004 12:29:48 AM)]
< RETR c:\music\emily.bmp [192.168.1.100 <- 192.168.1.1 : 3407 (3/30/2004 12:29:48 AM)]
> 501 Invalid Parameter [192.168.1.100 -> 192.168.1.1 : 3407 (3/30/2004 12:29:48 AM)]
! 192.168.1.1 :  Disconnected
! 192.168.1.1 : 3433 (-) connected..
< USER Jonathan [192.168.1.100 <- 192.168.1.1 : 3433 (3/30/2004 12:34:22 AM)]
> 331 Password required for Jonathan. [192.168.1.100 -> 192.168.1.1 : 3433 (3/30/2004 12:34:22 AM)]
< PASS Pinecone [192.168.1.100 <- 192.168.1.1 : 3433 (3/30/2004 12:34:24 AM)]
! 192.168.1.1 : 3433 User "Jonathan" is authenticated
> 230 User Jonathan logged in. [192.168.1.100 -> 192.168.1.1 : 3433 (3/30/2004 12:34:25 AM)]
< PORT 192,168,1,1,13,107 [192.168.1.100 <- 192.168.1.1 : 3433 (3/30/2004 12:35:54 AM)]
> 200 Port command successful. [192.168.1.100 -> 192.168.1.1 : 3433 (3/30/2004 12:35:54 AM)]
< RETR c:\music\emily.bmp [192.168.1.100 <- 192.168.1.1 : 3433 (3/30/2004 12:35:54 AM)]
> 501 Invalid Parameter [192.168.1.100 -> 192.168.1.1 : 3433 (3/30/2004 12:35:54 AM)]
< PORT 192,168,1,1,13,108 [192.168.1.100 <- 192.168.1.1 : 3433 (3/30/2004 12:36:10 AM)]
> 200 Port command successful. [192.168.1.100 -> 192.168.1.1 : 3433 (3/30/2004 12:36:10 AM)]
< RETR c:\music\emily.bmp [192.168.1.100 <- 192.168.1.1 : 3433 (3/30/2004 12:36:10 AM)]
> 501 Invalid Parameter [192.168.1.100 -> 192.168.1.1 : 3433 (3/30/2004 12:36:10 AM)]
< PORT 192,168,1,1,13,109 [192.168.1.100 <- 192.168.1.1 : 3433 (3/30/2004 12:36:49 AM)]
> 200 Port command successful. [192.168.1.100 -> 192.168.1.1 : 3433 (3/30/2004 12:36:49 AM)]
< RETR c:\music\emily.bmp [192.168.1.100 <- 192.168.1.1 : 3433 (3/30/2004 12:36:49 AM)]
> 501 Invalid Parameter [192.168.1.100 -> 192.168.1.1 : 3433 (3/30/2004 12:36:49 AM)]
! 192.168.1.1 :  Disconnected


anyways, 192.168.1.1 is the local ip address of my router, so it seems that might be important
0
 
LVL 2

Expert Comment

by:Thunder_scream
ID: 10710946
try this...
before opening ftp
go to
c:\documents and settings\Jonathan Plona\desktop\
then open ftp
and then go to c:\music\
then get emily.bmp
or mget emily.bmp

you could use the ftp client in iexplorer to ..for this..
type in ftp:// address..... in address bar...and once loaded...choose login as...from the file menu

hope this helps
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 2

Expert Comment

by:Thunder_scream
ID: 10711082
something I forgot to mention....if you have space ...between the name
c:\documents and settings\Jonathan Plona\desktop\

you could either
"c:\documents and settings\Jonathan Plona\desktop\em.bmp"
or
c:\documents%20and%20settings\Jonathan Plona\desktop\ em.bmp

Cheers
0
 
LVL 2

Accepted Solution

by:
Jman8R earned 20 total points
ID: 10711194
Hi,

I noticed that in the path's that you are using both refer to "c:". This is not the way the FTP works. When you installed or set up the service, you would have set an FTP root folder. The paths specified when using FTP are relative to this folder.

For instance, if your FTP root was c:\
You could probably use - get "documents and settings\Jonathan Plona\desktop\Emily.bmp" c:\emily.bmp


Depending on your FTP root, you may not be able to access all of the files on your hard drive - you can only access files in the FTP root directory and it's sub directories.
0
 
LVL 6

Assisted Solution

by:parkerig
parkerig earned 20 total points
ID: 10711235
Hi,
Most FTP servers require the / not \ and no c: etc for the get side

ie

get /music/emily.bmp "c:\documents and settings\Jonathan Plona\desktop\Emily.bmp"

Hope this leads you in the right direction
Ian
0
 
LVL 27

Expert Comment

by:pseudocyber
ID: 10712903
Fred, start with the trusty "?"

C:\WINDOWS>ftp
ftp> ?
Commands may be abbreviated.  Commands are:

!               delete          literal         prompt          send
?               debug           ls              put             status
append          dir             mdelete         pwd             trace
ascii           disconnect      mdir            quit            type
bell            get             mget            quote           user
binary          glob            mkdir           recv            verbose
bye             hash            mls             remotehelp
cd              help            mput            rename
close           lcd             open            rmdir
ftp> ? delete
delete          Delete remote file
ftp> ? glob
glob            Toggle metacharacter expansion of local file names
ftp> ? bin
binary          Set binary transfer type
ftp> ? hash
hash            Toggle printing `#' for each buffer transferred
ftp>
0
 

Expert Comment

by:Phoenix92x
ID: 10713817
I'm in agreement with Jman here. Is this a local FTP server? That will help so you can change the settings. If it is local and you can change accounts, try setting your default directory to the directory emily.bmp is in, THEN try and download it. If that doesn't work, then the problem is something else entirely. You want to make sure that youre not typing in C: etc though. Things should be only slashes (/s by the way).

Hope this helps
Phoenix
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Setting up a VPN 60 181
Cisco 5508 WLC software upgrade 2 71
When syspreping a clone machine 7 47
How to Link NetGear wireless AC-1200 router to Sonicwall 3600 13 60
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

840 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