LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-13-2005, 11:45 PM   #1
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
multiple file upload for websites?


This is a difficult problem but I'm hoping that someone here may be able to help me.

I have a web service that only allows me to upload one file at a time. I'd like to be able to write a wrapper script so that I can automate this so if I edit a whole directory of files, I can just run the script and it will upload all the files in the directory.

I've looked at lynx and haven't been able to find anything that might help me with this.

Does anyone have any suggestions on what I should do?

thanks!
 
Old 02-14-2005, 05:54 AM   #2
kbcnetau
Member
 
Registered: Dec 2003
Location: South Australia (ex-Devon, UK)
Distribution: SuSE, Slackware, Fedora, Debian, Knoppix
Posts: 141

Rep: Reputation: 15
Would you like to tell us what upload methods you are able to use?

Personally, I use rsync tunnelled through SSH - makes life VERY easy; however, you may not have this facility. Let us know and we'll see what we can do to help.

Cheers

Matthew
 
Old 02-14-2005, 06:58 AM   #3
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
the service is purely web-based. I'm sorry I didn't make it clear. The system is similar to the one employed by http://www.imageshack.us

My service has a similar interface where you can only upload a file at a time. No FTP service or the link. Just the web interface.
 
Old 02-14-2005, 02:53 PM   #4
kbcnetau
Member
 
Registered: Dec 2003
Location: South Australia (ex-Devon, UK)
Distribution: SuSE, Slackware, Fedora, Debian, Knoppix
Posts: 141

Rep: Reputation: 15
If you're moving these images via an HTTP form, yes, automation is possible.

However, it would involve programming. I would probably tackle this using Perl's LWP module.

You'd need to look at the upload page source to determine how the upload form works, then reproduce that functionality in a programme.

If this service is used by a lot of people, it's possible that someone may have done this already. Does the site you're using have a user forum?
 
Old 02-23-2005, 07:43 AM   #5
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
No one has. So it looks like I'll be embarking this journey. :-)

Thanks guys for your help. sorry for the late reply.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache - running multiple websites on one host xtra Linux - General 5 06-30-2010 04:51 AM
serving multiple domain websites on one server? gsgleason Linux - Software 1 06-03-2005 10:50 AM
How to configure multiple websites on one PC? <Ol>Origy Linux - Networking 8 08-16-2004 07:16 AM
Running multiple SSL websites on one server tictocdoc Linux - Networking 1 07-07-2004 03:26 PM
How-to setup on Apache some Multiple Namebased Virtual Websites with cgi-bin FunkFlex Linux - Newbie 0 02-08-2002 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration