I'm writing a simple program that is used to synchronize files to an FTP. I want to be able to check if the local version of a file is different from the remote version, so I can tell if the file(s) need to be transfered. I could check the file size, but that's not 100% reliable because obviously it's possible for two files to be the sam...
I'm using the FtpWebRequest and FtpWebResponse objects in the System.Net namespace to issue a LIST command. The problem I'm having is that the FTP server I'm connecting to does not have the OPTS command implemented.
Is there a way of preventing FtpWebRequest from issuing the OPTS command?
...
Hi friends,
I want to write a client server program in linux which works like ftp, but I am unable to get or put the files from and to the server.
Please suggest any ideas to do it...
...
Hello Everyone,
I want to make a status report of when my FTP server is on and when its off. HTML is the language which I prefer to use. I have never used HTML before, and I need it urgently due to a large request of when my ftp server is off and when its on. Can someone help me with this status report?
Thanks,
Kevin
...
I have a project divided into several sub-modules (each of them are jar libraries):
myapp
myapp-commons
myapp-client
myapp-server
I've configured my pom.xml in order to create 3 assemblies (client.zip, oracle.tar.gz and server.tar.gz) that are finally stored in the myapp/target directory.
I want now is to distribute two of...
I try to list file details using FtpWebRequest but very frequently it fails with a WebException and shows error 530 User not logged in.
How is this possible, that it works some of the time using the same credentials?
Excerpt from code:
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(ftpuri));
reqFTP.UseBinary = tr...
Hi, I was wondering if anyone knows the answer to why my code casts an exeption when I do the fileStream.Read call, with the message "The stream is disposed"
I can list the files in the folder and using my browser to the fileUrl works fine. No proxies is involved. UnifiedFile is just an subclass of VirtualFile which comes from the CMS i...
Firstly, I have the utmost respect for programmers & IT professionals. I'm a newby/wanna-be. I'm looking for help on developing a small program/script that helps me with the task I have detailed below. I am NOT submitting this as homework. This is work-related, but I'm NOT asking you to do my job. I'm taking this as an opportunity t...
Hi
My host does not handle SVN.
What I want is to be able to send through ftp a whole svn revision so I am sure I won't forget to upload a file.
Do you guies know any tool that would help me to do that?
thank you!
Vy
...
I'm looking for a java library library that works on the android that can download and resume files from an FTP server. Does anyone know of such a library. I've found lots of client apps, but no stand alone libraries.
...
I like the functionality of dreamweaver where you can add a site and define an ftp and then when you save a file it saves a local copy and also uploads a file via ftp. I am trying to get similar functionality with linux. What I have thought of doing is have inotify monitor a local folder and upload any new or changed files to an ftp site...
Can someone point me to some java code that can upload a file via FTP. The important thing is that if the FTP responds with an error message I need to obtain it. This is because I need to be sure the file was succesffully uploaded.
I am using the following code, but it does not return an error if the upload fails.
import java.io.Buf...
I have a web-application that allow users to upload images to my web site.
What I want to do is instead of hosting those images myself, I want to push those images off to my CDN (Cachefly).
Using PHP, I want to FTP an image from my server to another whenever a user uploads an image to my server.
However, I want to maintain the file st...
I have a PHP web-application that allows users to upload images to my web site. I'm doing this using a simply HTML <form enctype="multipart/form-data">
However, instead of having those images uploaded to my web server - I would to have those images uploaded directly to my CDN (Cachefly - which is another server).
Is this possible ... t...
Hi!
We have a project (Web/PHP) where we would like users to access their files, used in our application, using some kind of standardized protocol e.g. FTP or WebDAV. This would make it easier for our users to access their files, which mainly consists of templates and images.
The thing is, the directory that the users would be browsing...
I have try to transfer a image file using ftp command in linux, from linux platform to windows platform, doing like this:
ftp cs.unitbv.ro
ascii
get test.jpg
After this, when I open the image it says that the file is corrupted. If somebody know how to repair the image file let me know.
Thanks
...
maven release:perform is failing to distribute via FTP.
The first thing I checked is that I can access the target server with the given credentials from the command line. I can with passive FTP but not with active FTP (known firewall restriction). What I can see from googling is that Maven uses passive FTP by default. Is that correc...
Hi,
I implemented my custom FTP class to work with a hosted server that I'm paying for.
I use the FTP for backup, restore and update of my application.
I'm now at the moment where I want to enable the ssl to put this in production.
I asked my hosting company if they support the ssl protocal and they sad they do.
So I modified my met...
I'm using the following code to connect to a ftp server and get a list of files. It works ok on my local machine(Fedora 11) but not on production (running Ubuntu) where the ftp_nlist method returns false.
$ftpInfo = array('directory' => 'somewebsite.com',
'user' => 'someuser',
'password' => 'somepass',
...
Very simple premise. PHP as a shell script, log into an ftp (any ftp, i tried 2), get into a remote directory, list files, download them to local one. it's not working and it's not producing any meaningful errors. it logs in, it gets a list of files, tries the ftp_get and returns false.
#!/usr/bin/php -q
<?PHP
chdir("/www/cron/");
$se...