Make AI images on your own PC more ... How to do things AI Noob vs. Pro
List biggest files Free Open Source: Swiss File Knifea command line
Depeche View
command line
free external tools,
cpp sources
articles |
how to transfer files instantly between Windows, Mac OS X, Linux and Raspberry Pi, with no installation or configuration, using the free command line tool Swiss File Knife.
Are you working on a machine without internet access,
no shared network folders, unavailable USB ports,
missing admin rights, and a thousand other reasons
why it seems impossible to transfer a single file?
The free Swiss File Knife provides an Instant HTTP or FTP Server, allowing file transfer even if everything else fails. How to get SFK up and running anywhere: Download the executables for Windows, Linux/lib6 or Linux/lib5 By browser: - http://stahlworks.com/dev/swiss-file-knife.html then click on one of the top links to either download binaries instantly, or look further on sourceforge: - http://sourceforge.net/projects/swissfileknife/ OR On a Linux or Mac command line console, use one of these: Instant binaries: - wget http://stahlworks.com/sfkux (Intel Linux lib6) - wget http://stahlworks.com/sfkuxold (Intel Linux lib5) - wget http://stahlworks.com/sfkarm (ARM Linux) - curl -o sfk http://stahlworks.com/sfkmac (Mac i686) After download, follow the "prepare" steps below before use. If files downloaded by wget do not work, then possibly the wget tool destroyed the binary as it cannot handle the missing file extension. In that case, try a wget on one of the full .exe paths: wget http://stahlworks.com/dev/sfk/sfk-linux-64.exe (Intel lib6) wget http://stahlworks.com/dev/sfk/sfk-linux-lib5.exe (Intel lib5) wget http://stahlworks.com/dev/sfk/sfk-arm.exe (ARM Linux) wget http://stahlworks.com/dev/sfk/sfk-mac-64.exe (Mac i686) wget http://stahlworks.com/dev/sfk/sfk-mac-ppc.exe (Mac PowerPC) How to prepare the SFK binary under Linux/Mac: - after download, you should rename the executable to "sfk" to save typing effort, for example mv sfkux sfk then allow execution by setting the 'x' attribute chmod +x sfk then simply type ./sfk to get it running (the "./" is often needed as the PATH may not contain the current directory "."). SFK Instant HTTP Server for easy file exchange - on the machine where you have downloaded SFK, type sfk httpserv -port=9090 - then, on the target machine, try to open a web browser and to access http://othermachine:9090/ and you should see a listing of all files of the current directory on the other machine (where you ran sfk). - if no web browser is available, try a direct wget http://othermachine:9090/yourfile with "yourfile" being the single file you want to transfer. If that fails (no browser, no gui, no wget command), check if there exists an "ftp" command on the target. If so, try: SFK Instant FTP Server for easy file exchange - on the machine where you have SFK already, type sfk ftpserv - then, on the target machine, type ftp othermachine and if the login succeeds, try dir bin get yourfile - if ftp connections fail to work, check if the "ftp" client on the target accepts the command passive then try to "get" again (ftp creates a new connection per file download, which is often blocked by firewalls. the passive command changes the way in which those connections are created.) |