Welcome Guest.   Make a donation to an author on the site October 22, 2014, 08:36:14 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2014! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: FTP Uploader  (Read 14206 times)
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: April 03, 2006, 06:25:35 PM »

Based on Chrono's upload to ftp tool (http://www.donationcoder....rum/index.php?topic=493.0), i created a new tool that can be configured with SC, to upload images to and ftp very fast.

The best feature about it, is that you can set a final url, that'll be changed with the name of the file you upload, and copyed to clipboard.
Since most of the times, if you upload an image to an ftp, you want to paste it's name elsewhere, this tool, after uploading the file, will place it's url in the clipboard.

It's syntax is the following:

FtpUploader.exe FTPURL USERNAME PASSWORD FILENAME FILEURL
ex: FtpUploader.exe ftp.FooBar.com FooUser FooPassword Screenshot.png http://foobar.com/foouser

The final url copied to the clipboard is "fileurl/filename". In this example, it'd be http://foobar.com/foouser/Screenshot.png
If you don't wish to use with the copy to clipboard function, just don't put anything under FILEURL, and nothing will be copied.

This script is directed essentially at the SC's external tools configuration, so, here's the instructions on how to configure it on SC:
  • Goto tools menu -> configure external tools.
  • Click Add.
  • Select some name for it (like for example: "upload to ftp").
  • Browse for it's file
  • Fill "arguments" field with FTPURL USERNAME PASSWORD "%file%" FILEURL.

You can get the compiled version here.
Or the .ahk file here.
« Last Edit: September 06, 2007, 07:07:24 AM by jgpaiva » Logged

allen
Charter Member
***
Posts: 1,173



Powered by Beard

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: April 04, 2006, 09:20:15 AM »

Another option is RCFtp.

It was designed to be a right click context menu option (right click > upload) but accepts command line parameters as well, so you can easily use it (as I do) as an external tool with Screenshot Captor or your text editor.  What I particularly like is that it stores ftp profiles -- so when I go to upload, I can select which account and directory I want to send it to.  That way I don't have to configure different tools for different upload dirs.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: April 04, 2006, 09:26:23 AM »

Another option is RCFtp.

It was designed to be a right click context menu option (right click > upload) but accepts command line parameters as well, so you can easily use it (as I do) as an external tool with Screenshot Captor or your text editor.  What I particularly like is that it stores ftp profiles -- so when I go to upload, I can select which account and directory I want to send it to.  That way I don't have to configure different tools for different upload dirs.
Yes, that is a good point, but the main reason i made this, is to have the final url copied to the clipbard, and don't have to do many clicks to upload something, just click "upload" and wait Wink
Logged

allen
Charter Member
***
Posts: 1,173



Powered by Beard

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: April 04, 2006, 12:56:09 PM »

Yeah, that is handy . . . I might have to request such a feature be added to RCFtp smiley
Logged
AbteriX
Charter Honorary Member
***
Posts: 1,050


Member #520

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: April 04, 2006, 03:49:20 PM »

Thanks jgpaiva.
Thanks allen: command line support, freeware, (no installation needed) , i like this.
Logged

Greetings, Stefan.
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: April 08, 2006, 07:40:20 PM »

I have updated this script, now, if you use a command line like
FTPURL USERNAME PASSWORD "%file%Stamp" FILEURL
A unique timestamp will be added to the file's name, to avoid possible overwriting of a file that had already been uploaded and had the same name.

command line support, freeware, (no installation needed) , i like this.
So is this tools i've just updated Wink

But I don't quite like windows ftp client, i think i'll give RCFtp a try, to see if it's better than the solution i'm using right now.

You can get the compiled version here.
Or the .ahk file here.
« Last Edit: September 06, 2007, 09:22:55 AM by jgpaiva » Logged

allen
Charter Member
***
Posts: 1,173



Powered by Beard

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: April 08, 2006, 09:46:40 PM »

You could use rcftp and a script to get the location copy + convenience of RC.
Logged
Jammo the OrganizedFellow
Supporting Member
**
Posts: 212


see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #7 on: November 09, 2006, 01:45:11 AM »

You can get the compiled version here.
Or the .ahk file here.
Any new developments jgpaiva?

I am very interested in using this for webdevelopment.
Logged

As an aspiring web developer/designer, it is a constant struggle to cope with my ADHD + Hypomania/Bipolar Disorder.

The slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

X_____jamjammo_____
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: November 09, 2006, 05:14:49 AM »

I am very interested in using this for webdevelopment.
Hum.. Not really. I've tried to use rcftp, but the cost to learn to use it through command line was harder than the hasle that how the current method works.

What do you mean by webdevelopment? How'd you like to use it?
Logged

Jammo the OrganizedFellow
Supporting Member
**
Posts: 212


see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #9 on: November 09, 2006, 08:43:05 PM »

What do you mean by webdevelopment? How'd you like to use it?
I do lots of graphic file editing with Fireworks. mostly site background gradients, icons, css background images, etc.

rather than always have FileZilla open, I'd like an alternative (your app) to facilitate things.
I too used rcftp. It worked well for me, but offered no configuration.
I'd rather use a AHK script, learn to use it, and as i get better with scripting with auto hot key, edit the source to do more precisely what i need.
cheesy
Logged

As an aspiring web developer/designer, it is a constant struggle to cope with my ADHD + Hypomania/Bipolar Disorder.

The slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

X_____jamjammo_____
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: November 09, 2006, 08:59:41 PM »

Ok... Now i see your point. Well... FtpUploader works quite well (well enough for me to use it Wink ). I think it misses one feature though: upload to an arbitrary folder. curently it only uploads to the root folder of the ftp. I think i could easily add it, though Wink
Logged

kalos
Member
**
Posts: 1,069

View Profile Give some DonationCredits to this forum member
« Reply #11 on: September 06, 2007, 07:01:09 AM »

the file is missing, can anyone reupload it please

thanks
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: September 06, 2007, 07:08:26 AM »

Oops, i moved it around and forgot to modify the post.
It's fixed, now!
Logged

kalos
Member
**
Posts: 1,069

View Profile Give some DonationCredits to this forum member
« Reply #13 on: September 06, 2007, 09:21:08 AM »

I still get not found....  tellme
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: September 06, 2007, 09:22:04 AM »

I still get not found....  tellme
Are you sure? Try reloading the page, and clicking the links on the first post.
Logged

jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: September 06, 2007, 09:23:36 AM »

My mistake, i didn't edit both posts, only the top one.
Here's the correct link: http://jgpaiva.donationco...pUploader/FtpUploader.exe / http://jgpaiva.donationco...pUploader/FtpUploader.ahk
Logged

lanux128
Global Moderator
*****
Posts: 6,109



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #16 on: September 06, 2007, 09:00:39 PM »

jgpaiva, you could also point to kalos to the link in your sig to get all your tools.. smiley
Logged

ak_
Supporting Member
**
Posts: 223


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #17 on: September 06, 2007, 09:58:43 PM »

jpgaiva> i made a script like that for myself, the code itself isn't interesting at all but instead of ftp.exe, i use http://www.ncftp.com/ (more precisely ncftpput.exe). It's very nice because this way you get a progression bar. You should try it if you didn't have already smiley

Logged

jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #18 on: September 07, 2007, 06:59:17 AM »

well ak.. you could post yours smiley
Logged

ak_
Supporting Member
**
Posts: 223


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #19 on: September 07, 2007, 08:08:10 AM »

Well, ok smiley It's more or less the same as yours, that's why i said it wasn't very interesting.

[copy or print]
; Arguments are passed in this order :
; ftpaddress ftprep user pass url file
; ftpaddress : well, ftp adress...
; ftrep : destination folder
; user : user login
; pass : user password
; url : corresponding url, including folder
; file : file to upload
if 0 != 6
{
msgBox Pas assez d'arguments.
return
}
SplitPath 6, filename
clipboard = %5%/%filename%
whatToRun = c:\program files\ncftp\ncftpput.exe -b -u %3% -p %4% %1% %2% "%6%"
Run %whatToRun%
Logged

mikej
Supporting Member
**
Posts: 9

View Profile Give some DonationCredits to this forum member
« Reply #20 on: September 10, 2007, 08:24:40 PM »

Here is something else to try. I've used it awhile and love it. FTP's from context menu, creates thumbs if desired and creates link text if desired. Very handy

http://www.rightload.org/
Logged
mouser
First Author
Administrator
*****
Posts: 33,578



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #21 on: September 11, 2007, 02:15:52 AM »

Great find mike!  thumbs up thumbs up
Logged
ak_
Supporting Member
**
Posts: 223


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #22 on: September 11, 2007, 04:39:07 AM »

Oh great, i've been looking for something like this for a long time. I used to use my ahk script + FastExplorer context menu editor, but this looks more convenient. Thanks smiley

Automatic clipboard copy would be perfect.
« Last Edit: September 11, 2007, 04:53:51 AM by ak_ » Logged

goseta
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #23 on: November 22, 2007, 11:45:12 AM »

Hello, this is a great commad line app, but have a question there is a way to specified a init directory, cause in my ftp I need to change directory like public_html or something, thanks for the reply
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #24 on: February 17, 2008, 03:57:57 PM »

damax has made a better alternative to this script, find it here Wink
Logged

Pages: [1] 2 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.05s | Server load: 0.02 ]