Solved

FTP, no idea what I'm doing

Posted on 2004-03-29
8
1,272 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
 
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
voice vlan on meraki using 3CX 3 59
OSPF Question 12 56
Best iPhone Wireless Strength Tester 3 59
You are currently not connected to any networks windows 10 5 109
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now