-
Perl to VB.NET
can anyone please translate below perl code to vb.net
#!/bin/sh
#These can be edited.
SERVER=your_server_ip
FTP=/usr/kerberos/bin/ftp
getfile=file_to_get_from_server
script=`basename ${0}`.ftp
echo 'user username password' > $script
echo 'verbose' >> $script
echo 'ascii' >> $script
echo 'cd /path/to/file' >> $script
echo "get ${getfile}" >> $script
echo 'bye' >> $script
date > ${script}.log
$FTP -n -u $SERVER < $script >> ${script}.log
rm -f $script
thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks