All, This is probably a much harder question than what should go in the "Getting Started" forum, but I am new and don't know where to put it. Anyways, I am currently developing an FTP class in VB.NET. It's kid tested, mother approved when trying to access an FTP Server on a Windows box meaning I can connect, run commands, upload and download a file no problem. My issues come when I try to use the same class with the same commands to access an FTP server on a UNIX box. I can connect and login just fine, but after that all my commands come back "500 'PWD': command not understood.". This is fo...Net::SSH and Net::FTP?
I would like to use SSH to login to a remote system, then using FTP,
upload a file from the remote machine to another machine which will
display the data. If I can automate this process, I think I'll be in
great shape, tell me does this code seem like it would work for this?
>my $ssh =3D Net::SSH::Perl->new($host); #Logging into the remote =
>my($READ, $WRITE) =3D $ssh-&...Net:FTP, Net::Cmd
I'm using Net::FTp and Net::Cmd modules in a script to completely
automate some FTPing stuff.
$ftp->put($fileh,"/tmp/test.txt") || die "cant put the file\n";
$ftp->command("chmod","755","test.txt") || die "Cant run quot\n";
I have no luck making the $ftp->command stuff to work. I'm using
solaris 5.8 ftp client. Anyway, I can make this work? Native
Solaris ftp client/server can not support "quot site" stuff.
Am I out of luck??
Please dont offer suggestions to use &...Rebex Secure FTP (FTP over TLS/SSL) for .NET Compact Framework released
Rebex Secure FTP now supports .NET Compact Framework
Rebex Secure FTP component has been extended to support .NET Compact
Framework 1.0 and 2.0. Now you can secure your PocketPC/Windows CE file
transfers using TLS/SSL. No more plaintext passwords sent over the
The Secure FTP for .NET Compact Framework includes .NET Compact Framework
version of Rebex Secure Sockect library (TLS/SSL network socket
client library) and Rebex Security (implementation of many
security related .NET classes that are missing from some or all versions of .NET
and .NET Compact Framewor...automatic FTP not using NET:FTP module
I have to automate ftp process using perl or shell scripts. At the moment I
cannot install NET:FTP class. So any pointers for me on how do this.
Send a cool gift with your E-Card
On Wed, Jul 11, 2001 at 10:20:58AM -0700, email@example.com wrote:
> I have to automate ftp process using perl or shell scripts. At the moment I
> cannot install NET:FTP class. So any pointers for me on how do this.
Why can't you install Net::FTP? Really, it...FTP a file to a FTP server with .NET code
Hi,I want my web app to be able to upload a user submitted file via FTP to another server. I'm checking out components and they seem way out of price range for me ($399+) Isn't there some simple source code in .NET available ? Or maybe somebody knows a good, reliable, cheaper component ?Any help much appreciatedthanks,mike123
See the Google search results for c# ftp upload, more specifically http://www.csharphelp.com/archives/archive9.html.
RyanRyan OlshanASPInsider | Microsoft MVP, ASP.NEThttp://ryanolshan.comHow to ask a question
...FTP not using NET:FTP module ... Why dose this work???
Using Luke Bakkens reply
>If you can't install Net::FTP, the following works with the ftp.exe
>program on NT to get the file /tmp/frazzle in binary mode:
>open FTP, "> tmpftp.$$";
>print FTP <<EOF;
>system "ftp -s:tmpftp.$$ $hostname";
>on unix, the system call would be this i believe:
>system "ftp $hostname < tmpftp.$$";
I went and did the following, but ...RE: ftp w/o using Net::FTP
James P Donnelly <firstname.lastname@example.org> asked:
> I am only trying to login into a server, travese to the
> correct directory, dump a file and quit. I have hacked
> together something that gets me to the server and
> then it seems to hang at the login.. Has anyone written
> something like
> this w/o use of the module? Any insight would be very helpful
> Thanks -- Jim
> $cmd = 'rftp';
> $rftp_commands =
use CGI::Carp 'fatalsToBrowser';
use CGI qw/:standard/;
my $ftp =3D Net::FTP->new("ftp.yourserver.com", Debug =3D> 0)
or die "Cannot connect to some.host.name: $@";
or die "Cannot login ", $ftp->message;
or die "Cannot change work...NET::FTP
I dont know whether this is a correct forum for asking this or not.
But still if anybody can help me , its great.
We are having some perl scripts which are pulling data from a FTP Server
We have a coonection through a NAT IP.
Simultaneously , five or six scripts runs and fetch data from the same
Sometimes we got files successfully while sometimes we are getting
UNEXPECTED EOF FILE ON COMMAND CHANNEL.
...FTP and .NET
I need to connect to a FTP server, look for the existence of a particular zip file, unzip it and FTP it to a different server, execute a DTS package. I plan to write a Windows app for this. Is it possible to do FTP with .NET (with or without external componenets) and is it possible to do the functions that I outlined?Thank you in advance.
Well heres an article on ftp in .net. Might help. As to unzipping a file I am unaware of an ftp command to do this and at the end of the day unzipping a file on the ftp server would depend on the abilities of ftp, not .net. You may need to download it to ...Net::FTP
I am using the Net::FTP module in Perl to automate transferring datafiles
between one of my Unix servers and a mainframe. I have the connection going
and in general, can transfer files without problems.
However, I've been told that as part of the file transfer, I have to issue a
mainframe specific command (there is no method in Net::FTP that corresponds
with this command). The command I need to issue is "quote site lrecl=827
recfm=fb blksize=27291 cylinder primary=1 secondary=1".
I have tried to use the "quot" method. It goes something like this
$ftp-...FTP to FTP
Lately I've been seeing scans show up of a port 21 trying to connect to my
port 21 (I am not, BTW, running an FTP server). Is this just someone trying
to use my IP as the middleman in an FTP bounce attack, assuming my port 21
had been open and with a writeable FTP directory?
...how to deploy the .net project through ftp -- urgent
I have developed a personnel site in c#.net . I have registered the domain and 100MB web space through a hosting company. They have given me aceess to ftp only.
I know only two methods of deployment in .net :
1) running the msi of the project
2) using the 'copy project' option.
I can't go for first option as I can't execute a setup file from ftp. And I am unable to use second option as it needs one virtual directory created on the server. The hosting company is not giving me enough support.
Is there any way so that I can deploy the project only by using ftp. ...FTP with .NET
In my ASP.NET app, I create a PDF file dynamically. I have to FTP this file to a remote FTP location. Any ideas on how to approach this issue?
Use a free .NET FTP component, like this one:
Darrell Norton, MVPDarrell Norton's BlogPlease mark this post as answered if it helped you!
Thanks! Appreciate your help.
Are there any other free components for FTP in the market that I can compare with?
Actually here's a whole list of 'em!
These are just the C# ones. ...