thomasmaul / filetransfer_class Goto Github PK
View Code? Open in Web Editor NEWClass for filetransfer with ftp/sftp/ftps via curl, dropbox and gdrive support
License: MIT License
Class for filetransfer with ftp/sftp/ftps via curl, dropbox and gdrive support
License: MIT License
Hallo Herr Maul,
wenn man Dropbox.upload oder Dropbox.download verwendet, müssen 2 Pfade angegeben werden. Wenn diese Pfade Leerzeichen enthalten (was ja passieren kann, wenn man einfach 4D.File.platformpath oder ähnliches zu verwenden versucht), dann kommt ein Fehler zurück, der erst verschwindet, wenn man die Pfade in doppelten Anführungszeichen übergibt. Vielleicht ist das so beabsichtigt, aber ggf. könnte man das abfangen?
Viele Grüße
Heiko Junghärtchen.
Hallo Herr Maul,
in der Anleitung schreiben Sie zu DropBox, man kann den dxbcli in den Resources-Ordner tun. In der Klasse FileTransfer_Dropbox ist in Zeile 9/12 als Pfad aber nur "dbxcli" oder "dbxcli.exe" angegeben.
Dadurch werden Fehlermeldungen (nicht) geworfen (weil unterdrückt) und die Klasse funktioniert so nicht.
Idee:
Z. 9: This._Path:=Get 4D folder(Current resources folder)+"dbxcli"
Z. 12: Get 4D folder(Current resources folder)+"dbxcli.exe"
Unter Windows funktioniert jedenfalls dadurch jetzt schon mal getDirectoryListing($target)
Viele Grüße
Heiko Junghärtchen
Authentication process fails: Bad CPU type in executable
Also tried with BASH - same result.
Full terminal output:
kirk@iMac FileTransfer_Class % '/Users/kirk/4D Workspace/git_repos/thomasMaul/FileTransfer_Class/optional/dbxcli_Mac_precompiled/dbxcli' ls
zsh: bad CPU type in executable: /Users/kirk/4D Workspace/git_repos/thomasMaul/FileTransfer_Class/optional/dbxcli_Mac_precompiled/dbxcli
kirk@iMac FileTransfer_Class % sudo '/Users/kirk/4D Workspace/git_repos/thomasMaul/FileTransfer_Class/optional/dbxcli_Mac_precompiled/dbxcli' ls
Password:
sudo: unable to execute /Users/kirk/4D Workspace/git_repos/thomasMaul/FileTransfer_Class/optional/dbxcli_Mac_precompiled/dbxcli: Bad CPU type in executable
kirk@iMac FileTransfer_Class %
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.