-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

File_2_FTP - nautilus scripts

   1.3  

Nautilus Script

Score 52%
SanusartSanusart
Sanus|artifi cium
Home
-
Sasha Khamkov 1

Sanus|artificium
Israel, Jerusalem
Last visit Sep 29 2010
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--
 File_2_FTP - nautilus scripts
zoom


Link:  http://www.sanusart.com
Downloads:  637
Submitted:  May 19 2008
Updated:  May 21 2008

Description:

######################## INFORMATION ################################
File_2_FTP v.1.3 nautilus script (c) 2008 | Sasha Khamkov
license - Free to use but not to sell or gain profit by any other
possible way.
Questions and such - - www.sanusart.com
---------------------------------------------------------------------
Dependencies:
[*] - zenity (present by default in most cases)
[*] - Pure-FTPd (present by default in most cases)
---------------------------------------------------------------------
Description:
[*] - This script makes a use of built-in 'Pure-FTPd' to upload
selected file to FTP server. This is most usefull if you
need to share something and resend the URL to the file.
[P.S.] - There are 2 files -
"File_2_FTP" stores the USERNAME & PASSWORD inside - it
is somewhat unsecure.
"File_2_FTP_secure" asks for USERNAME & PASSWORD at the
time of upload - no sesetive data is exposed.
---------------------------------------------------------------------
Usage:
[1] - Edit settings section bellow
[2] - Put this file to '~/.gnome2/nautilus-scripts/' directory
---------------------------------------------------------------------
Access:
[1] - right mouse button on file to upload.
[2] - Go to scripts => File_2_ftp
[3] - (only 'File_2_FTP_secure')You'll be asked to provide
username & password, it was made to avoid storing
sensitive data inside the script.
[4] - Log will show-up upon successful/failed upload to inform
about the session and details.
[5] - Full URL to the uploaded file will pop-up only if $URL
variable in settings was specified correctly.
---------------------------------------------------------------------
I am NOT responsible for any data loss caused by use of this script
---------------------------------------------------------------------




Changelog:

21/05/2008
----------
[*] - Added secure version of the script - ask for USER & PASS instead of store.
[*] - Outputs URL of uploaded file.
[*] - Minor improvements.



License:
license - Free to use and reuse but not to sell or gain profit by any other possible way.

(File_2_FTP)
(File_2_FTP_secure)
Donate
Send to a friend
Subscribe
Other  Artwork  from Sanusart
Report inappropriate content



-

 Script problem on ubuntu 9.04

 
 by larsbjo on: Jul 13 2009
 
Score 50%

Firstly thanks for the script!

I did some small modifications to make this script work on my Ubuntu pc. I had to replace $file with $@ as $file didn't return anything. I've also added "" to the local dir name to allow for SPACEs in the directory name.

Lastly I've changed the feedback so that the URL is copied to the clipboard rather than being shown in a dialog box.
You might need to download xclip (sudo apt-get install xclip) for the script to work.

If problems with the original script, you might try replacing the last part of the scrip with this:

######################## END OF SETTINGS ##############################
# IMPORTANT! #
# Do not edit bellow this line unless you know what are you doing !!! #
# see 'man ftp' for more options. #
#---------------------------------------------------------------------#

local_dir=$PWD
file=`basename $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS`
# For passive mode add 'p' to the 'ftp' flags (e.g. -pnivg).
ftp -pnivg $host $port > $logfile <<END_SCRIPT
quote binary
quote USER $username
quote PASS $userpass
cd $remote_dir
lcd "" + $local_dir + ""
put $@
bye
END_SCRIPT
# echo `zenity --text-info --filename="$logfile" --title="File_2_FTP - LOG"`
# echo `zenity --info --text="The URL is: http://$URL/$remote_dir/$@"`
echo "http://$URL/$remote_dir/$@"|/usr/X11R6/bin/xclip -selection "clipboard"
exit 0


Reply to this

-

 Re: Script problem on ubuntu 9.04

 
 by Sanusart on: Jul 13 2009
 
Score 50%
SanusartSanusart
Sanus|artifi cium
Home
-
Sasha Khamkov 1

Sanus|artificium
Israel, Jerusalem
Last visit Sep 29 2010
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Thank you for the fix.

Just wanted to note that spaces in web related file names often cause problems in some browsers + overwriting the clipboards content will not be welcome among all users, as sometimes, uploading takes longer time and the user might do other clipboard related stuff at the moment.

Thanks.


Reply to this

Add commentBack






-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About GNOME-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 GNOME-Look.org Team  
All rights reserved. GNOME-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
GNOME and the foot logo are trademarks of the GNOME Foundation.