FTP a file with a single click (Windows)
Written by Shanx May 29th, 2003
Close
Quickly update files on a ftp site by just doubleclicking on a file!
- Under your file Folder Options in Explorer for Win 95/98/2k, create a new associated file type (e.g., *.ftp).
- Create an Edit entry with: C:\WINNT\NOTEPAD.EXE “%1″, or your favorite text editor.
- Create a Run Entry that is set default that does: ftp.exe -s:”%1″, note you may have to include the path to ftp.exe. Now make a text file with the commands you want to run:
Voila! When you double-click the file it will automatically FTP the file to your site.
I use the Nokia e61i as my mobile. Instead of my telco’s data plan (which offers me a meagre 1GB per month) I simply prefer to use my home wireless [...]
Continue reading →
View all
If you use Firefox (and if not, what are you waiting for?) you are familiar with useful extensions such as Video Downloader, which allow you to save local copies of [...]
Continue reading →
View all
This regexp worked for me. SELECT * FROM table WHERE NOT column ~ ( ‘^(‘|| $$[\09\0A\0D\x20-\x7E]|$$|| — ASCII $$[\xC2-\xDF][\x80-\xBF]|$$|| — non-overlong 2-byte $$\xE0[\xA0-\xBF][\x80-\xBF]|$$|| — excluding overlongs $$[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}|$$|| — straight 3-byte [...]
Continue reading →
View all
So you’ve been visited by the much dreaded CRC — Cyclical Redundancy Check error, most likely encountered while copying files between hard disks. On Mac OSX, this will usually appear [...]
Continue reading →
View all
A simple app ought to do it. Download iRinger. It’s a Windows app. If you’re on Mac, you’ll want to use it within a virtual machine, like Parallels or VMWare [...]
Continue reading →
View all
I use the Nokia e61i as my mobile. Instead of my telco’s data plan (which offers me a meagre 1GB per month) I simply prefer to use my home wireless [...]
Continue reading →
View all
Among many new exciting features, WordPress 2.6 released the ability to store each and every revision of your posts, like an elaborate update history. Now this can be a pretty [...]
Continue reading →
View all
Panic, the makers of some fantastic software such as Transmit or Panic, also have the most light-weight audio converter for the Mac OSX platform. It’s called Audion: get it here. [...]
Continue reading →
View all
A simple app ought to do it. Download iRinger. It’s a Windows app. If you’re on Mac, you’ll want to use it within a virtual machine, like Parallels or VMWare [...]
Continue reading →
View all
2 Comments
I think this is a great trick, but I can’t get it to work. Any suggestions?
Most of my FTPing is to my web site, but with a different file depending on what is being updated. I use this batch to build a script like yours on the fly. I have a shortcut to this batch file, which I drag a file to which auto-ftps the file to my web page.
:: ==== putfile.bat ======
echo off
if “%1″==”" goto usage
:: build a script file
echo account_name>putfil.scr
echo password>>putfil.scr
echo binary>>putfil.scr
echo prompt>>putfil.scr
:: path and name of the file dropped on the icon
echo put %1 >>putfil.scr
echo quit >>putfil.scr
:: and finally run the script just created
:: to upload to your site
ftp -s:putfil.scr upload.domain.com
goto end
:usage
echo.
echo Nothing found to transfer
echo.
echo This BatchFile Icon is meant to have a single file dropped on it.
echo Dropping a file will cause it to be copied to the mtopping website.
echo SPACES NOT ALLOWED in path or file names.
echo.
:end
pause
======= end of code ==========