Solved

Transfert file by ftp under window ,no works

Posted on 2010-09-23
2
892 Views
Last Modified: 2013-12-09
I want to make a transfer of file of a machine A towards a machine B
connected by a crossed cable ethernet, and this no works
.

CONFIGURATION

---Machine A---
-Window Vista
-IP: 192.168.10.2
-Filename: testftp.txt on disk D:


---Machine B---
-Window XP
-IP: 192.168.10.2
-Network analyser : Wireshark
-Server FTP: TYPSoft FTP Server
 Configuration Server FTP:
      List of Users: moi
      Password: moi
      Root Directory: C:\
      Directory Access: C:\

 
TRANSFERT testftp.txt on disk D: (machine B) to testftp.txt on disk C:(machine A)

-Activation connexion local network 192.168.10.0
-Start Server FTP on machine B
-start cmd.exe on A
-Change Directory C: ->D:

#### open session
-Type ftp command
ftp>
-Type open 192.168.10.2
connecté a 192.168.10.2
220 TYPSoft FTP Server 1.10 ready...
utilisateur <192.168.10.2:<none>>: my
331 password required for my
mot de passe: my
230 user moi logged in.
ftp>

... OK !


#### transfert

--- Machine  B ----
-Start capture Wireshark on Ethernet interface of machine  B

--- Machine A -----
ftp> put testftp.txt testftp.txt
200 port command successful
501 permission denied



--- machine  B ---

3      0.000128      192.168.10.1      192.168.10.2      FTP      Request: PORT 192,168,10,1,192,30
4      0.001256      192.168.10.2      192.168.10.1      FTP      Response: 200 Port command successful.
5      0.004850      192.168.10.1      192.168.10.2      FTP      Request: STOR temp.txt
6      0.006451      192.168.10.2      192.168.10.1      FTP      Response: 501 Permission Denied
7      0.201503      192.168.10.1      192.168.10.2      TCP      49181 > ftp [ACK] Seq=42 Ack=54 Win=2011 Len=0



Problem file testftp.txt was not transferred!

Please can you help me for this problem?
Thanks

0
Comment
Question by:francisbenoit
[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
2 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 250 total points
ID: 33750842
Here's some things you might want to try:

1. Do not use the C: folder as the FTP user's home directory! C: is the root of the system drive, there are all sorts of protections that may interfere, OS-side as well as program-side. Instead, use a folder like C:\FTP\upload or C:\fileserver\user etc.

2. Make sure that home folder on the server has access permissions set up correctly. Right-click the folder name, select 'Security' and make sure user "everybody" has full access rights; in French, it will most likely be user "chacun". If not available, you will have to add that user group to the list of the folder's owners. If this turns out to be too complicated, simply try to share the folder, this should automatically make it available to everybody. For sharing, right-click and select "Share"; in French, this could be 'Partager' or 'Libération' or similar.

3. Check the Windows firewall or any third-party firewalls you may have installed. Make sure ports 21 and 20 are open on the server.
0
 

Author Closing Comment

by:francisbenoit
ID: 33766097
Hi,

Well , thanks for your suggests , transfert file between two PC by FTP works.
Here another question.I want do the same thing but with TFTP because my problem originally is the transfer  between a Cisco router and a PC who no works.
So , first I try carry out between two PC by TFTP and this no works.



############ CONFIGURATION ##############

---Machine A
-Window Vista
-IP: 192.168.10.1
-Filename: file_a.txt on  D:\FilesClient


---Machine B
-Window XP
-IP: 192.168.10.2
-Network analyser : Wireshark
-Server TFTP: SolarWinds TFTP Server with C:\FilesServer TFTP Server Root Directory
-Filename: file_b.txt on  C:\FilesServer

############ TRANSFERT TFTP ##############

On machine A

1- A->B

-Cmd
D:\FilesClient>tftp 192.168.10.2 put file_a.txt
Delai d'attente dépassé
Echec lors de la demande de connexion

-Trace Wireshark
10      9.321154      192.168.10.1      192.168.10.2      TFTP      Write Request, File: file_a.txt\000, Transfer type: netascii\000
........................
58      56.322937      192.168.10.1      192.168.10.2      TFTP      Error Code, Code: Not defined, Message: timeout on receive\000


file_a.txt not transferred !


2- B->A

-Cmd
D:\FilesClient>tftp 192.168.10.2 get file_b.txt
Delai d'attente dépassé
Echec lors de la demande de connexion

-Trace Wireshark
3      0.000597      192.168.10.1      192.168.10.2      TFTP      Read Request, File: file_b.txt\000, Transfer type: netascii\000
................................
51      47.001567      192.168.10.1      192.168.10.2      TFTP      Error Code, Code: Not defined, Message: timeout on receive\000

file_b.txt not transferred !

Please can you help me?

Francis.
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

710 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