FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old December 11th, 2003, 01:24 PM
Enkrypter Enkrypter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 24 Enkrypter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
web sftp interface

Anyone tried to create a sftp web interface. I know there are several free ones available for ftp, but I need one for SFTP that uses the ssh encryption. I also know there are perl modules to handle ssh, but I can't seem to find documentation on how to use them.

I am normaly very good with perl, but these modules seem to be escaping my capcity to grasp the concept. Does anyone have some code to reference or know where I might be able to find a working web based sftp example? I need to create an interface for a website to allow secure uploads not with ssl!

Reply With Quote
  #2  
Old December 11th, 2003, 07:52 PM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
Check http://search.cpan.org for File::Remote, it may be of use (and it has an included POD).

Really, most web-interfaces use CGI uploads, not any kind of direct FTP-like transfer. I suppose you could make the cgi connection via ssl and it'd be somewhat secure.

Reply With Quote
  #3  
Old December 11th, 2003, 09:02 PM
Enkrypter Enkrypter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 24 Enkrypter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
What I need to design needs to be a web frontend over a secure ssl http session where the backend is an sftp server.


e.x.

External FireWall Internal
Web server with ssl ---------------------------------> SFTP Server

Reply With Quote
  #4  
Old December 11th, 2003, 10:35 PM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
Well, you can't make an [S]FTP client via the web, that would involve opening ports and initiating connections on the client's computer, something a server-side language cannot do.

If you're talking about having a web interface to upload a file via CGI and then SFTP that file to another server once it makes it to the web server, then I'd try File::Remote. It's not SFTP, it's SCP, but I'd bet if a server supports the former, it'll support the latter.

Actually, upon just looking now, of course there's an SFTP module, if you want to use that: http://search.cpan.org/~drolsky/Net...lib/Net/SFTP.pm

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > web sftp interface


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway