Solved

Transfert file by ftp under window ,no works

Posted on 2010-09-23
2
907 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Suggested Courses

636 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