FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
FTPConnect problem
FTPConnect problem
Débuté par Corina, 12 déc. 2016 20:11 - 4 réponses
Connectez-vous…
Corina
#1
Posté le 12 décembre 2016 - 20:11
Hi,
I'm trying to get a file from a non secure FTP, the connection it's done ok, but when i try to get the file i recieved "Unable to define current directory on server" error, and this is because the user don't have permission to make a pwd on the ftp.
It's possible than ftpget function is using this ftp command and that's the reason why i can't download the file?
It's any way to avoid this problem?
Thanks,
Corina
Signaler
0
0
Sebastian Arnold
#2
Membre enregistré
102 messages
Popularité : +2 (2 votes)
Posté le 14 décembre 2016 - 12:08
Corina,
I don't think that this is the problem. You should be able to download a file from an already established connection even if this is without password.
How about sharing your code here on the forum? Maybe one of the group members can help.
Sebastian
--
http://arnoldconsult.de
WinDev 21 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL
Signaler
0
0
Corina
#3
Posté le 16 décembre 2016 - 12:09
Hi again,
The problem it's not the password, the problem is when i use the ftpget() instruction, probably is using the fpw command (print working directory) and the user don't have permission to make a print working directory.
So the download don't work.
I dont' know exactly which instrucction of ftp commands is using de print working directory... i assume it's ftpget() because the ftpconnect() works ok.
Thanks in advance
Regards,
Corina
Signaler
0
0
Sebastian Arnold
#4
Membre enregistré
102 messages
Popularité : +2 (2 votes)
Posté le 16 décembre 2016 - 13:55
Corina,
I can't help you with that. I don't use WD FTP functions (I use
https://www.chilkatsoft.com/
instead). So I can't tell you if WD is using this specific fpw command.
You could:
a) send an email to WD support, ask this question
b) try to run FTPGet() and check ErrorInfo() if result is false
c) try the SFTP module from chilkatsoft
HTH
Sebastian
--
http://arnoldconsult.de
WinDev 21 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL
Signaler
0
0
Arnold Brown
#5
Posté le 16 décembre 2016 - 14:34
Hi Corina,
I have seen your requirement & details that you shared.
I would be glad to assist you , if you can add me on skype : cisin.arnold & we can discuss more about your requirement.
Waiting for your reply.
Best Regards,
Arnold Brown:)
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte