| |
|
|
Christian Zietz | Hi,
following Posting standing already in the Forum on XProfan.de. Sorry for the Crosspost but I would already gladly know, whether it for the beschriebene trouble one Workaround gives. otherwise must I the whole well in Delphi implementieren.
--- Ursprünglicher Posting I have Problems with the Upload of Files over passives FTP (is unfortunately on one computer necessary, on the the program later walk should) with XProfan 9.1.
If I @FTP(SetPassive,1) directly to the @FTP(Upload,...) ausführe, becomes not at all into passiven mode geschaltet, set I it to the @FTP(Connect,...) then supply @FTP(Upload,...) immediate success back, The File but nevertheless not transfer.
let I @FTP(SetPassive,1) lane, then functions everything, but hold not behind the Firewall, The passives FTP voraussetzt.
appendix: Downloads funktioneren too with passive FTP, the trouble concerns evident only Uploads. --- end ursprünglicher Posting
is the trouble famous, make I only what wrong or is the one yet unerkannter bow? Can there what against it do or is passiver FTP-Upload with XProfan presently you don't say so?
Christian |
|
|
| |
|
|
|
| Rolands FTP-functions walk in a own Thread.
therefore can it often vorkommen the The FTP-functions already to termination of/ one task whom success report.
Überprüfe time simply whether the Upload not Perhaps still in the background stattfindet.
After ftp(upload
use following Loop to determine when the Upload objectively exits is: CompileMarkSeparationFTP-ListDir gives first then True back - if the Thread not any more of Upload blockiert is.
Diesen Workaround I had me anyway then as funktionierend wrote there positively ertestet. |
|
|
| |
|
|
|
Christian Zietz | thanks for response, but unfortunately works the passive Upload too lest. somehow remaining my Program in the from you geposteten Whilenot-Loop hang. |
|
|
| |
|
|
|
| I see - this is Yes at least no schlechtes characters.
D.h. the XProfan it already attempts upzuloaden - but the process somewhere gestoppt becomes.
circa what kind of Firewall deals it itself? is one Proxy in the game? sits You behind one Server which z.B. by ICS the internet sponsert? |
|
|
| |
|
|
|
Christian Zietz | The problem exit on, if I directly (d.h. without Firewall, Proxy or NAT) with the network joined be. in the Übrigen would like I a problem with the Internetverbindung exclude. usually sit I of course behind one Router with NAT but the power with a right FTP-Prgramm weder with aktivem yet with passive FTP Problems. and aktives FTP works with XProfan indeed. this is for Router plenty heikler as passives FTP. only should the program hold later on one computer walk, on the only passives FTP possible is.
I have now time whom Netzwerkverkehr with ethereal mitgeschnitten. My XProfan-Program building to the PASV-commands of course a ausgehende link to the of Server mitgeteilten address on, The hochzuladende File but not transfer, too then not, if I instead of your Loop one simples and enough langes Sleep einfüge. there's somewhere in XProfan the worm drin. |
|
|
| |
|
|
|
| Owei.
have You yourself already once with the FTP-Api probiert?
I have one FTP-Unit began - The is not yet ready.
You could it then with this try. |
|
|
| |
|
|
|
Christian Zietz | I have in the meantime something experimentiert. If I your Sourcecode How follows abändere, works everything. the Program depends nirgendwo and sowohl passiver as well as active FTP-Upload functions. Why too always. CompileMarkSeparation |
|
|
| |
|
|
|
| Hm your Source power the same - except for the ftplistdir a second later as by me to that first Male abefragt becomes. I look here strain time in my source - objectively - I give sorgar 1,5 sec to the Loop Time.
well, then functions it means. |
|
|
| |
|
|
|
| Hello IF If you the FTP-Unit ready have, would You me then too message say greeting horst |
|
|
| |
|
|
|
| I give here message - How always. |
|
|
| |
|
|