|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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! |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > web sftp interface |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|