Help - Search - Member List - Calendar
Full Version: UNIX vs. Windows help
WorkTheWeb Forums > Webmaster Resources > Perl Beginner Help
Support our Sponsors!
Paul Ohashi
Hi All,

I moved my web server from UNIX to Windows and some things
no longer work. I expected this to happen, but now I need
some help. Here's what worked on UNIX:

my @ftpUpList = `ftp ftp.somewhere.com <<EOM
admin
admin
prompt
cd tool/upload/S
ls -ltRr
bye
EOM`;

This would put a recursive listing of my upload site in the
array @ftpUpList and all was peachy...

Since moving the web server to windows, it fails. Does anyone
know what the Windows equivalent would be? All suggestions are
appreciated, thanks.

Paul

Paul Ohashi
I figured it out with a google search (google always works).
The results returned:

http://www.robvanderwoude.com/index.html

Paul

-----Original Message-----
From: Paul Ohashi [mailto:[Email Removed]]
Sent: Friday, March 04, 2005 1:40 PM
To: Perl List (E-mail)
Subject: UNIX vs. Windows help


Hi All,

I moved my web server from UNIX to Windows and some things
no longer work. I expected this to happen, but now I need
some help. Here's what worked on UNIX:

my @ftpUpList = `ftp ftp.somewhere.com <<EOM
admin
admin
prompt
cd tool/upload/S
ls -ltRr
bye
EOM`;

This would put a recursive listing of my upload site in the
array @ftpUpList and all was peachy...

Since moving the web server to windows, it fails. Does anyone
know what the Windows equivalent would be? All suggestions are
appreciated, thanks.

Paul

--
To unsubscribe, e-mail: [Email Removed]
For additional commands, e-mail: [Email Removed]
<http://learn.perl.org/> <http://learn.perl.org/first-response>

JupiterHost.Net
Paul Ohashi wrote:
QUOTE
Hi All,

Hello,

QUOTE
I moved my web server from UNIX to Windows and some things

boy talk about a downgrade :)

QUOTE
no longer work. I expected this to happen, but now I need
some help. Here's what worked on UNIX:

my @ftpUpList = `ftp ftp.somewhere.com <<EOM
admin
admin
prompt
cd tool/upload/S
ls -ltRr
bye
EOM`;

This would put a recursive listing of my upload site in the
array @ftpUpList and all was peachy...

Since moving the web server to windows, it fails. Does anyone

Why not use Net::FTP instead? I imagine your windows doesn't know what
those commands are.

QUOTE
know what the Windows equivalent would be? All suggestions are
appreciated, thanks.

Move back off Winders ;p

JupiterHost.Net
Paul Ohashi wrote:

QUOTE
I figured it out with a google search (google always works).
The results returned:

PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.