Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Transfert file by ftp under window ,no works

Posted on 2010-09-23
2
Medium Priority
?
946 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
2 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 750 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
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…
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…
Suggested Courses

877 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