Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cdlvj
  • Order by date
  1. cdlvj

    date time

    yes it does, The process creates files with correct date. But the localtime returns date 1 hour off.
  2. cdlvj

    date time

    This is a windows box with Active Perl. I cannot get the correct time. Have been using localtime. TZ is set to CST6CDT. It always return 1 hour less. Tried Date::manip same thing. Remove TZ, tried everything. Any ideas? Thanks in advance.
  3. cdlvj

    Cannot link after installing Adaptec driver !

    Have you tried mkdev .scsi which should allow a delete. I have had problems with the new Adaptec stuff also, and have had to go to one of the real old cards.
  4. cdlvj

    USE WWW::Curl::Easy

    This is what I get. D:\FTP\curl>perl curl.plx * About to connect() to www.site.com port 21 * Trying xxx.xx.xxx.xx... * connected * Connected to www.site.com (xxx.xx.xxx.x) port 21 < 220 xxx52:6021 FTP server (webMethods Integration Server version 6.5 ) ready. 220 xxx52:6021 FTP server...
  5. cdlvj

    Cron like function ?

    This may work, you would need to get the class ParseCron. use FB::ParseCron; sub checkCron { my ($function,$client) = @_; my %hash = %{$function}; my $value = $hash{CRON}[0]; my $c; if ($value) { $c = FB::ParseCron->new($value); } if ($c->now) {...
  6. cdlvj

    USE WWW::Curl::Easy

    I cannot find any document on how the options map to the Perl Options. The Curl command line is: $ curl --ftp-ssl -sslv3 --verbose -E FITB-HSBC_public.pem --key FITB-HSBC_private.pem --pass pass --user Logon:xxx ftp://www.site.com/FR/outbound/FR_Test.txt use WWW::Curl::Easy; my...
  7. cdlvj

    PGP Signing

    Have been using pgp for awhile, give clients our public key, they encrypt the file, and we successfully decrypt the file. Now we have a request that the client sign the file? I cannot find any reference that clearly explain the procedure. The only thing I know is that on the client side, the...
  8. cdlvj

    Why is this returning the return code

    my @list; my $clsa; @list = $clsa->list(); @list = ( 1 ); should be @list = ( "file1", "file2", "file3");
  9. cdlvj

    Why is this returning the return code

    This is from a class object and is supposed to return a list. It is returning an array with what looks like a TRUE/FALSE in the array. $dati = "file1\nfile2\nfile3\n"; return $dati ? split( /\n/, $dati ) : ();
  10. cdlvj

    Call a Sub by Name

    Kevin, The valuable info from this post should be condensed and added to FAQ area on this site.
  11. cdlvj

    Call a Sub by Name

    Would you please make this a FAQ as this contains some very valuable information. thanks.
  12. cdlvj

    How do you pull out a hash array using struct?

    list is a hash array. Debug shows $list = { "seconds" => "12,2", "hour" => "8,2", "minute" => "10,2", "month" => "4,2", "day" => "6,2", "year" => "0,4" }; use Class::Struct; struct ftpdata => { mask => '$'...
  13. cdlvj

    Any way to dynamically call a subroutine

    Nice, and a million thanks.
  14. cdlvj

    Any way to dynamically call a subroutine

    Listers, I have a perl event ftp processor, which is driven by a .ini file. Is there any way to call a function based on what is defined in the .ini file. ie. [txt] destination=ftp.someserver.com preprocess=foo [dat] destination=ftp.somewhereelse.com Would like to have a line if...
  15. cdlvj

    Converting Files

    This is what you would do in a generic way. read, grab off bytes out of the read in line and then use unpack to convert to ascii $rc=open(INFILE, "<$bDir\\$File"); binmode(INFILE); $rco=open(OUTFILE, ">$OFile"); ## assume each binary line is 100 bytes while(1) ## Read in 1st 100 bytes...
  16. cdlvj

    BIND not forwarding requests

    I have got the same problem. When I run nslookup #Default Server: mymachine.mydomain.com Address: 0.0.0.0 > Note the Address: 0.0.0.0 Thanks
  17. cdlvj

    FTP/HTTP

    Yes, we use Perl as it has all kinds of class objects to do what you want.
  18. cdlvj

    DNS not resolving host names on server

    We have noticed that the dns server is not being resolved, and shows the address 0.0.0.0 Server: ns.dnserver.com Address: 0.0.0.0 ns.dnserver.com can't find ftp.domain.com. Non-existent host/domain.
  19. cdlvj

    Enable Service remotely

    http://tiger.la.asu.edu/Quick_Ref/PerlWin32_quickref.pdf Should have some info that you need.
  20. cdlvj

    DNS not resolving host names on server

    ns1.swbell.net and ns2.swbell.net (acting as secondary) nslookup server ns1.swbell.net returns some, my main machine but errors on www.tek-tips.com, aspn.activestate.com

Part and Inventory Search

Back
Top