Transfert de fichier via serveur FTP

Un problème avec votre ordinateur, l'un de vos logiciels ou le code que vous programmez, venez poser vos questions ici.
Forum rules
- AVIS IMPORTANT -
Les propos tenus sur le forum de ce site n'engagent que leurs auteurs et ne sont en aucun cas sous la responsabilité de AutoZoneQuébec.com ou d'Essai-Auto.com. Nous nous réservons le droit d'effacer tout message jugé désobligeant ou offensant.
Post Reply
User avatar
Viber
Posts:1573
Joined:Thu Jun 04, 2009 11:39 pm
Transfert de fichier via serveur FTP

Post by Viber » Fri Jun 11, 2010 10:45 am

J'ai une application au travail avec laquelle je peux transférer des fichiers via un serveur FTP.

J'ai installé WarFTP et je me connecte au serveur.
Mais lorsque vient le temps de downloadé le fichier, ça ne marche pas. Il n'est pas enregistré sur mon ordinateur.

Dans mon serveur FTP, je vois le fichier passer, mais rien dans le folder de destination.

Le but est de pogner le fichier (cd071306.xls dans le cas présent) pis de l'enregistrer dans le folder C:\CDR de mon PC.

J'ai runné un débug sur le transfert et ça me donne ça

2010 06 07 13:06] Connected to Local IP: 10.1.112.83
[D 2010 06 07 13:06] 00016 prelogin cntr SendCtrlMsg(): Unable to open message file
[D 2010 06 07 13:06] 00016 prelogin cntr Clear To Send.
[D 2010 06 07 13:06] 00016 prelogin cntr Debug marker: Line=1941 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 prelogin cntr Command: USER anyone
[D 2010 06 07 13:06] 00016 prelogin cntr Debug marker: Line=1980 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 prelogin cntr Debug marker: Line=1993 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 prelogin cntr Debug marker: Line=2028 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 prelogin cntr Debug marker: Line=2047 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 prelogin cntr Debug marker: Line=2163 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 anyone cntr Debug marker: Line=1941 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 anyone cntr Command: PASS anyone
[D 2010 06 07 13:06] IsPartOfPath(): Accepting '\' + Recursive as global access to all paths.
[D 2010 06 07 13:06] \
[D 2010 06 07 13:06] IsPartOfPath(): Accepting '\' + Recursive as global access to all paths.
[D 2010 06 07 13:06] GetUserPermsOnPath(\): Perms= Home List Recursive Root
[D 2010 06 07 13:06] 00016 anyone cntr Debug marker: Line=2241 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[L 2010 06 07 13:06] 00016 anyone cntr User from 10.18.6.52 logged in
[D 2010 06 07 13:06] 00016 anyone cntr Debug marker: Line=2244 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 anyone cntr Debug marker: Line=2246 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] IsPartOfPath(): Accepting '\' + Recursive as global access to all paths.
[D 2010 06 07 13:06] \.message.ftp.txt
[D 2010 06 07 13:06] IsPartOfPath(): Accepting '\' + Recursive as global access to all paths.
[D 2010 06 07 13:06] GetUserPermsOnPath(\.message.ftp.txt): Perms= Home List Recursive Root
[D 2010 06 07 13:06] GetPath(): File does not exist.
[D 2010 06 07 13:06] 00016 anyone cntr SendCtrlMsg(): Unable to open message file
[D 2010 06 07 13:06] 00016 anyone cntr SendCtrlMsg(): Unable to open message file
[D 2010 06 07 13:06] 00016 anyone cntr Debug marker: Line=1941 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 anyone cntr Command: SYST
[D 2010 06 07 13:06] 00016 anyone cntr Debug marker: Line=1941 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 anyone cntr Command: PORT 10,18,6,52,170,33
[D 2010 06 07 13:06] 00016 anyone cntr Debug marker: Line=1941 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 anyone cntr Command: STOR cd071306.xls
[D 2010 06 07 13:06] IsPartOfPath(): Accepting '\' + Recursive as global access to all paths.
[D 2010 06 07 13:06] \cd071306.xls
[D 2010 06 07 13:06] IsPartOfPath(): Accepting '\' + Recursive as global access to all paths.
[D 2010 06 07 13:06] GetUserPermsOnPath(\cd071306.xls): Perms= Home List Recursive Root
[D 2010 06 07 13:06] GetPath(): Access denied - UserPerms.m_Write
[D 2010 06 07 13:06] 00016 anyone cntr Debug marker: Line=1941 File='C:\devel\src\Msvc4\tFTPd32\CFtp.cpp'
[D 2010 06 07 13:06] 00016 anyone cntr Command: QUIT
[D 2010 06 07 13:06] 00016 anyone cntr SendCtrlMsg(): Unable to open message file
[L 2010 06 07 13:06] 00016 anyone cntr User from 10.18.6.52 logged out
[D 2010 06 07 13:06] CUser::Save(): User database flushed.


Le bout qui me chicitte, c'est [D 2010 06 07 13:06] GetPath(): Access denied - UserPerms.m_Write

J'ai eu beau chercher, j'vois pas où ce folder est protéger en écriture
Ford Flex 2009
Honda Civic 2001 (all day beater!!)
Kawasaki ZX-600 1996
Ford Mustang GT 1989 convertible (vendu :pleur4: :pleur4: )

User avatar
RWarrior
Posts:1477
Joined:Thu Jun 04, 2009 10:14 pm

Re: Transfert de fichier via serveur FTP

Post by RWarrior » Sat Jun 12, 2010 2:16 am

Je suppose que tu as essayé un autre repertoire?
Le redneck dla place
De gros char amaricains pis des 4x4(japonais :P )

User avatar
hyksos
Posts:4165
Joined:Sat Jun 06, 2009 8:58 pm

Re: Transfert de fichier via serveur FTP

Post by hyksos » Sat Jun 12, 2010 2:36 am

On dirait plutôt que l'accès est bloqué en lecture.... ta pas besoin de droit d'écriture pour lire un fichier.
Image

User avatar
Viber
Posts:1573
Joined:Thu Jun 04, 2009 11:39 pm

Re: Transfert de fichier via serveur FTP

Post by Viber » Tue Jun 15, 2010 12:29 pm

Après avoir gosser un peu avec, j'y arrive presque...

Là au moins j'ai mon folder où c'est supposé s'en aller, mais ça n'y va toujours pas

[D 2010 06 15 11:23] Connected to Local IP: 10.1.112.83
[D 2010 06 15 11:23] 00044 prelogin cntr SendCtrlMsg(): Unable to open message file
[D 2010 06 15 11:23] 00044 prelogin cntr Clear To Send.
[D 2010 06 15 11:23] 00044 prelogin cntr Command: USER anyone
[D 2010 06 15 11:23] 00044 anyone cntr Command: PASS anyone
[D 2010 06 15 11:23] C:\CDR
[D 2010 06 15 11:23] IsPartOfPath(): Accepting '\' + Recursive as global access to all paths.
[D 2010 06 15 11:23] GetUserPermsOnPath(C:\CDR): Perms= Home List Recursive Root
[L 2010 06 15 11:23] 00044 anyone cntr User from 10.18.6.52 logged in
[D 2010 06 15 11:23] 00044 anyone cntr SendCtrlMsg(): Unable to open message file
[D 2010 06 15 11:23] 00044 anyone cntr SendCtrlMsg(): Unable to open message file
[D 2010 06 15 11:23] 00044 anyone cntr Command: SYST
[D 2010 06 15 11:23] 00044 anyone cntr Command: PORT 10,18,6,52,184,191
[D 2010 06 15 11:23] 00044 anyone cntr Command: STOR cd151123.xls
[D 2010 06 15 11:23] C:\CDR\cd151123.xls
[D 2010 06 15 11:23] IsPartOfPath(): Accepting '\' + Recursive as global access to all paths.
[D 2010 06 15 11:23] GetUserPermsOnPath(C:\CDR\cd151123.xls): Perms= Home List Recursive Root
[D 2010 06 15 11:23] GetPath(): Access denied - UserPerms.m_Write
[D 2010 06 15 11:23] 00044 anyone cntr Command: QUIT
[D 2010 06 15 11:23] 00044 anyone cntr SendCtrlMsg(): Unable to open message file
[L 2010 06 15 11:23] 00044 anyone cntr User from 10.18.6.52 logged out

J'ai toujours le Access denied - UserPerms.m_Write
Ford Flex 2009
Honda Civic 2001 (all day beater!!)
Kawasaki ZX-600 1996
Ford Mustang GT 1989 convertible (vendu :pleur4: :pleur4: )

Post Reply