Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,970 Members 49,078 Now Online
XDA Developers Android and Mobile Development Forum

[APP] Instant Upload

Tip us?
 
cewan
Old
(Last edited by cewan; 8th January 2011 at 10:29 PM.) Reason: New version out
#1  
Member - OP
Thanks Meter 4
Posts: 55
Join Date: Sep 2010
Default [APP] Instant Upload

This app is to be used to conveniently upload files to your FTP or SFTP server.

The app has a queuing functionality which can be enabled under settings.

Help text (from app):
Instant Up is used to quickly upload any type of file to your server.

FTP settings must be configured before use. To configure, choose
Settings in the options menu.

Here is an example, to help you configure.

If you specify file type zip and path myZipFolder, all zip files will be uploaded to myZipFolder.
If you want all file types to be uploaded to the same server directory, specify * in the file type column. This rule will be used for all files not matching any of the other rules.
If no rule exists for the current file type you will be forwarded to an FTP browser to let you select a destination folder.

Start using
Instant Up now by, for instance, downloading a file in the web browser and clicking on it in the Downloads section of the browser.

If queueing is enabled in settings, files will not be uploaded instantly, instead you are able to queue up all files that you need to upload. If all files in queue are matching some rule defined, the files will be uploaded to the correct folders depending on the rules. If some file does not match any rule, you will be asked for an upload folder and (NOTE) ALL files in queue will be uploaded to that folder.

Versions
  • 2.2: Free version now supports SFTP as well, and it now has ads. Also fixed a bug of being able to add non-numbers in port field.
  • 2.1.2: Fixed error when trying to upload non-file items
  • 2.1.1
    • now supports sharing multiple files (e.g. from Gallery)
    • Fixed bug when trying to share other stuff than files
  • 2.1: now supports sharing (from Gallery app for instance)
  • 2.0.1: support for earlier OS:s (1-6 - 2.1) Prior to this only 2.2 was supported.
  • 2.0: queueing, App2SD, bugfixes
  • 1.0.1: bugfixes
  • 1.0: initial version
QR and links
Since I was not allowed to add links to this forum, you just have to search for Instant Development in the Market.

Feedback
If you see any problems in the app or have any suggestions, please post here. If you like the app please rate and comment it in the market.
Attached Thumbnails
Click image for larger version

Name:	InstantUp-queue.png
Views:	413
Size:	17.4 KB
ID:	427105   Click image for larger version

Name:	InstantUp-browse.png
Views:	317
Size:	19.9 KB
ID:	427106   Click image for larger version

Name:	instant_development_qr.png
Views:	245
Size:	1.3 KB
ID:	427107  
 
elmicha
Old
#2  
Senior Member
Thanks Meter 8
Posts: 131
Join Date: Aug 2005
Location: Bonn
I like your sftp app, but could you please add public key authentication?
S4 i9505, stock (Adam kernel)
Nexus 7 16GB, Rootbox
HTC Desire HD, PACman
 
cewan
Old
#3  
Member - OP
Thanks Meter 4
Posts: 55
Join Date: Sep 2010
Quote:
Originally Posted by elmicha View Post
I like your sftp app, but could you please add public key authentication?
Thanks.
How would you like that to work?
 
elmicha
Old
#4  
Senior Member
Thanks Meter 8
Posts: 131
Join Date: Aug 2005
Location: Bonn
Like in AndFTP or Connectbot. The AndFTP method is a lot simpler than the Connectbot method. I would say that the simpler method is enough:

The user generates a public/private key pair with ssh-keygen or dropbearkey on his server. Then he appends the public key to his ~/.ssh/authorized_keys and copies the private key to the phone. The sftp client can now import that private key and use it.

Probably it would be easier if you would specify a fixed directory and filename where the user should store his private key, e.g. /sdcard/InstantUpload/id_dsa (or id_rsa). If there is a file with that filename, Instant Upload can import the key and store it internally, and then delete the file. That way you don't need a file selection dialog and the user doesn't need to hunt for the file with that dialog.
S4 i9505, stock (Adam kernel)
Nexus 7 16GB, Rootbox
HTC Desire HD, PACman
 
cewan
Old
#5  
Member - OP
Thanks Meter 4
Posts: 55
Join Date: Sep 2010
Quote:
Originally Posted by elmicha View Post
Like in AndFTP or Connectbot. The AndFTP method is a lot simpler than the Connectbot method. I would say that the simpler method is enough:

The user generates a public/private key pair with ssh-keygen or dropbearkey on his server. Then he appends the public key to his ~/.ssh/authorized_keys and copies the private key to the phone. The sftp client can now import that private key and use it.

Probably it would be easier if you would specify a fixed directory and filename where the user should store his private key, e.g. /sdcard/InstantUpload/id_dsa (or id_rsa). If there is a file with that filename, Instant Upload can import the key and store it internally, and then delete the file. That way you don't need a file selection dialog and the user doesn't need to hunt for the file with that dialog.
Thank you for a very thorough description. I will have a look at it!
 
Corias
Old
#6  
Corias's Avatar
Senior Member
Thanks Meter 8
Posts: 162
Join Date: May 2009
Location: Moscow
Good and thorough work, man. But for what reason? Most of Android file explorers already can interact with FTP.
 
cewan
Old
(Last edited by cewan; 30th October 2010 at 07:23 AM.)
#7  
Member - OP
Thanks Meter 4
Posts: 55
Join Date: Sep 2010
Quote:
Originally Posted by Corias View Post
Good and thorough work, man. But for what reason? Most of Android file explorers already can interact with FTP.
Thanks.
The only reason why I started to build this app was that I wanted something that in the fastest way possible let me download any file from the browser and directly upload it to an SFTP server.
I have searched for apps that supported this, but none of them could do this.
With the file explorers you have to do something like the following:
  1. Download file from browser
  2. Close browser
  3. Open File Explorer
  4. Browse to the folder containing the file
  5. Find the file in the folder
  6. Long click the file
  7. Select upload action
  8. Select destination folder

With this app only three steps are required:
  1. Download file from browser
  2. Click on file
  3. Select application (Instant Upload)
 
cewan
Old
#8  
Member - OP
Thanks Meter 4
Posts: 55
Join Date: Sep 2010
New version out. The free version now supports SFTP as well.
 
alcaron
Old
#9  
Member
Thanks Meter 1
Posts: 93
Join Date: Nov 2009
Since the market link leads here I assume you did the Spotify Controller app.

I just installed the server on Win7 x64 and...there is a LOT wrong with it.

I actually package software for a living, unless you protest I will probably try to put together a PROPER package for the current version of the server software.

Honestly, using a zip file means everything gets tagged as a download from the internet, which means every batch files prompts (or more usually, just flat out fails when called from a batch files). Using a vbscript to create shortcuts is ok, but the shorcut didn't have the working directory set. It points to the controller.bat in the main directory, which calls controller.bat in the server subdirectory, which is redundant and asking for trouble. The batch files it calls will almost never work on Win7 (even 32 bit) and surprised it works in XP, because it calls %~dp0java but the JRE by default doesn't add itself to the PATH variable so the server fails to start 100% of the time (this can be fixed by finding the path to java.exe and setting the shortcut to call java.exe and then the command line (don't forget to set the working directory to the /server folder or it will vomit). So both those batch files are unnecessary and break easily.

I had to go through the install.bat and change the paths from %~dp0 to hardcoded, again you could probably come up with just about anything OTHER than a batch file and it would work, as opposed to the way it is now which...doesn't...

Also for us US users new to the party the example URI in the installer isn't available in the US so no matter what it's broken, I found a Green Day song (Jesus of Suburbia) that works and appears to be available everywhere.

http://open.spotify.com/track/10lT3pp9QERGOWiIzLx4We

The server is nice, and fast, and for what it is (and the price) works well. Especially for "party mode" of just switching between playlists or "ohhh I really wanna listen to song x right now!"

But the installer as it is...is so broken as to be virtually useless. The only downside to me making a package for this is that everytime you update the software I'd either have to do it again or use something free like, I believe nullsofts installer.
 
alcaron
Old
#10  
Member
Thanks Meter 1
Posts: 93
Join Date: Nov 2009
I would highly recommend learning the Nullsoft installer btw, it is free, and can do a LOT better job than batch files. As far as I know (I use a several thousand dollar software suite at work not nullsoft so I'm not too good with nullsoft) it can even do things like execute a command and wait for feedback.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...